diff --git a/src/index.ts b/src/index.ts index 20a078de..f96ac525 100644 --- a/src/index.ts +++ b/src/index.ts @@ -68,6 +68,10 @@ export interface Options { * A [Prettier](https://prettier.io/docs/en/options.html) configuration. */ style: PrettierOptions + /** + * TODO: info + */ + tsTypes: Record, /** * Generate code for `definitions` that aren't referenced by the schema? */ @@ -103,6 +107,7 @@ export const DEFAULT_OPTIONS: Options = { trailingComma: 'none', useTabs: false, }, + tsTypes: {}, unreachableDefinitions: false, unknownAny: true, }