-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TypeScript] Async type signature always returns any #3864
Comments
I am not sure if this will be possible because in Fable when you use If you want asynchronous code to be await-able from TypeScrip you should use Regarding the we could indeed type it to: Fable/src/fable-library-ts/Async.ts Lines 12 to 13 in b93f248
|
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 ofany
, and ideally should be awaitable as well from typescript without giving errors.Related information
dotnet fable --version
The text was updated successfully, but these errors were encountered: