@compas/code-gen
Version:
Generate various boring parts of your server
15 lines (14 loc) • 390 B
TypeScript
/**
* Preprocess 'anyOf' types
*
* - Make optional if one of the values is optional
* - Make nullable if one of the values is nullable
*
* Double check on discriminant usage
*
* @param {import("../generate").GenerateContext} generateContext
*/
export function anyOfPreProcess(
generateContext: import("../generate").GenerateContext,
): void;
//# sourceMappingURL=any-of.d.ts.map