the-codegen-project / cli

Simplify your implementation in any language when using standards such as AsyncAPI
Apache License 2.0
4 stars 0 forks source link

Add global import to root of the output folder #81

Open ALagoni97 opened 3 hours ago

ALagoni97 commented 3 hours ago

It would be nice if there was a global import ts file for typescript generator so all imports come from the same place.

Currently my imports look like this: import { GeneratorTypes } from '../__codegen__/payloads/GeneratorTypes'

It would be nice if it was just: import { GeneratorTypes } from '../__codegen__'