Fable icon indicating copy to clipboard operation
Fable copied to clipboard

[TypeScript] Async type signature always returns any

Open leononame opened this issue 1 year ago • 0 comments

Description

Async does not generate correct type signature.

Repro code

REPL

Expected and actual results

It should have some type signature like export const doAsync: Async<string> instead of any, and ideally should be awaitable as well from typescript without giving errors.

Related information

  • Fable version: dotnet fable --version
  • Operating system

leononame avatar Jul 09 '24 17:07 leononame