acacode / acacode/swagger-typescript-api
Generate files with `.js` relative imports
Open
- Dominant language
- TypeScript
- Stars
- 4.1k
- Forks
- 436
- PR merge metrics
- No merged PRs in 30d
Description
The typescript code currently being generated cannot be compiled for use in a module without patching relative imports to add the `.js` extension.
Is it feasible to add an --esm flag, or check the local directory package.json for type: module, or tsconfig for module: es*?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.