acacode / acacode/swagger-typescript-api

Generate files with `.js` relative imports

Open
#517 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.