diff --git a/src/index.ts b/src/index.ts index 0bc4b69ff..e8226ad67 100644 --- a/src/index.ts +++ b/src/index.ts @@ -25,7 +25,7 @@ import Schema, { SchemaFieldDescription, SchemaDescription, } from './schema'; -import type { InferType, Message } from './types'; +import type { InferType, ISchema, Message, ValidateOptions } from './types'; function addMethod( schemaType: (...arg: any[]) => T, @@ -55,6 +55,7 @@ export type { AnyObject, InferType, InferType as Asserts, + ISchema, Message, AnySchema, MixedOptions, @@ -66,6 +67,7 @@ export type { SchemaFieldDescription, SchemaDescription, LocaleObject, + ValidateOptions }; export {