acacode / acacode/swagger-typescript-api
Generate an index file when using modular mode
未关闭
- 主要语言
- TypeScript
- 星标
- 4.1k
- 派生
- 436
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。