Skip to content

GenerateOptions

type GenerateOptions = SchemaSourceOptions & {
bannerComment?: string;
typeName?: string;
};

Defined in: client/src/generate/generate.ts:18

Options for generateClientTypes.

optional bannerComment?: string;

Banner comment prepended to the output. A default is used when omitted.

optional typeName?: string;

Name of the generated root interface. Defaults to ApiSchema.