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
I'm writing a codegen that generates types for my ORM from manually defined types for JSON fields. I would like to quickly extract the available types from some source files in my codebase.
What is the feature you are proposing to solve the problem?
Adding an options?: { withTypes?: boolean } to the Transpiler.scan method (maybe scanImports too?)
What alternatives have you considered?
Because es-module-lexer doesn't support TS, the only other solution is too run a full TS AST parser, which mean probably Babel.
The text was updated successfully, but these errors were encountered:
What is the problem this feature would solve?
I'm writing a codegen that generates types for my ORM from manually defined types for JSON fields. I would like to quickly extract the available types from some source files in my codebase.
What is the feature you are proposing to solve the problem?
Adding an
options?: { withTypes?: boolean }
to the Transpiler.scan method (maybe scanImports too?)What alternatives have you considered?
Because es-module-lexer doesn't support TS, the only other solution is too run a full TS AST parser, which mean probably Babel.
The text was updated successfully, but these errors were encountered: