acacode / acacode/swagger-typescript-api

Generate files with `.js` relative imports

Aperta
#517 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
4.1k
Fork
436
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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*?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.