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
Do you mean that ts-interface-builder should have this flag? It already has a --format flag, to output ts or js:esm or js:cjs code (differing mainly in import and export syntax). Perhaps adding deno as another supported format would be a good approach? A pull request would be welcome. If import syntax is the main difference compared to an existing format, then I imagine that this area of the code is a good place to start: https://github.com/gristlabs/ts-interface-builder/blob/8ff1a0c9f4b59d5b5038f366fb485f344ae70813/lib/index.ts#L248
Currently it works with following configuration in deno.json
But ideally, it should work without special settings.
It's possible to add
--deno
flag to adapt generated code to Deno syntax?Thank you!
The text was updated successfully, but these errors were encountered: