UNPKG

docschema

Version:

Schema declaration and validation library using JsDoc comments

10 lines (9 loc) 193 B
export type PersonSchema = { name: string; age: number; }; /** * @preserve * @enum {{ name: string, age: number }} */ export const PersonSchema: import("#docschema").DocSchema<any>;