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
#57 Added basic support for reading comments as type annotations in certain positions:
error:
┌─./private/test-files/demo.ts:1:24│1│constx/* string */=4;│------^Type4 is notassignabletotypestring│││Variabledeclaredwithtypestring
There is also JS Doc, which contains type annotations. Ezno's synthesis could parse these comments (so done inside the checker, rather than the parser) and pass them off as the type annotation if there isn't one.
Additionally, could there be changes Ezno could make to support things that currently aren't representable in JS Doc?
The text was updated successfully, but these errors were encountered:
#57 Added basic support for reading comments as type annotations in certain positions:
There is also JS Doc, which contains type annotations. Ezno's synthesis could parse these comments (so done inside the checker, rather than the parser) and pass them off as the type annotation if there isn't one.
Additionally, could there be changes Ezno could make to support things that currently aren't representable in JS Doc?
The text was updated successfully, but these errors were encountered: