Fable
Fable copied to clipboard
[TypeScript] Async type signature always returns any
Description
Async does not generate correct type signature.
Repro code
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