You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
There should be some way to generate annotated source code from a program without type annotations: the documentation doesn't explain how to do this, so I don't know if Hegel has this feature yet.
Hi @jarble .
Yes, we have a high level of type inference, so you able to skip an annotation of your arguments and return type.
We described it in the section of the documentation.
If you mean by "automatically generating of an annotation" a generating of d.ts file with annotation, then I want to say, that this part of the project currently in development.
I'd a little bit stop working because I'd married :D
But I promise I will come back to the project soon :3
I want to generate some type annotations to a function like this one:
With type annotations, it would look something like this (using TypeScript syntax):
Is it possible to generate these annotations automatically using Hegel, instead of typing them manually?
The text was updated successfully, but these errors were encountered: