Type aliases
Func
Func: (...args: any[]) => any
RefSchemaType
RefSchemaType: typeof Number | typeof String | typeof Buffer | typeof ObjectId
RequiredType
Required
Type: boolean | [boolean, string] | string | Func | [Func, string]
StaticThis
StaticThis<T>: {}
Type parameters
ValidatorFunction
ValidatorFunction: (value: any) => boolean | Promise<boolean>
Type declaration
-
- (value: any): boolean | Promise<boolean>
-
Parameters
Returns boolean | Promise<boolean>
VoidFunc
VoidFunc: () => void