UNPKG

@typeofweb/schema

Version:

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

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