UNPKG

vtils

Version:

一个面向业务的 JavaScript/TypeScript 实用程序库。

5 lines (4 loc) 264 B
import { MixedSchema } from './mixed'; export interface BooleanSchema<T extends boolean = boolean> extends MixedSchema<T> { } export declare function boolean<T extends boolean = boolean>(payload?: (schema: BooleanSchema<T>) => BooleanSchema<T>): BooleanSchema<T>;