Closed moselhy closed 3 months ago
I would recommend re-exporting the specific types that you need with another file: ie.
/** quicktypeOutput.ts */
export interface Foo {
a: number;
}
export interface Bar {
b: string;
}
/** index.ts */
export { Foo } from './quicktypeOutput';
Sometimes I don't need to export all the types that are generated. Instead of having to find/replace
export
each time I use the tool, it would be nice if there was a toggle among the existing ones to choose whether or not I would like to export the generated types.