UNPKG

@typeofweb/schema

Version:

`@typeofweb/schema` is a lightweight and extensible library for data validation with full TypeScript support!

2 lines 279 B
export declare const number: <S extends import("../types").SomeSchema<unknown>>(schema?: S | undefined) => import("../types").SomeSchema<import("../types").Pretty<S["__type"] extends readonly (infer TypeOfSchemaElement)[] ? number : number>>; //# sourceMappingURL=number.d.ts.map