acacode / acacode/swagger-typescript-api
Generate an index file when using modular mode
Aberta
- Linguagem predominante
- TypeScript
- Estrelas
- 4.1k
- Forks
- 436
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
I want to use Modular mode, but it doesn't generate an index file to mass-export stuff.
Rather than being able to do `import { Thing, ThingDto } from 'api';`, I'm forced to use multiple import statements, `import { Thing } from 'api/Thing'; import { ThingDto } from 'api/data-contracts';`
Is it possible to have this generate an `index.ts` file? If not a cli argument, then is it possible to have the modular templates generate a single extra file, such that each module can write to it once?
Thanks.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.