acacode / acacode/swagger-typescript-api
Import declaration conflicts in generated modules when using --modular flag
- Vorherrschende Sprache
- TypeScript
- Sterne
- 4.1k
- Forks
- 436
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I'm using the Swagger pet store example as input with the `--modular` flag.
The generated modules are reporting the following type issues because the interface from `data-contracts.ts` has the same name as the class in the module.
> Individual declarations in merged declaration 'Pet' must be all exported or all local.ts (2395)
> Import declaration conflicts with local declaration of 'Pet'.ts (2440)

I realize that the modules has ESLint disabled, however, these are typescript errors.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.