Comparing version 1.3.2 to 1.3.3
@@ -871,3 +871,3 @@ import { Get } from 'type-fest'; | ||
declare function addMethod<T extends ISchema<any>>(schemaType: (...arg: any[]) => T, name: string, fn: (this: T, ...args: any[]) => T): void; | ||
declare function addMethod<T extends new (...args: any) => ISchema<any>>(schemaType: T, name: string, fn: (this: InstanceType<T>, ...args: any[]) => InstanceType<T>): void; | ||
declare function addMethod<T extends abstract new (...args: any) => ISchema<any>>(schemaType: T, name: string, fn: (this: InstanceType<T>, ...args: any[]) => InstanceType<T>): void; | ||
type AnyObjectSchema = ObjectSchema<any, any, any, any>; | ||
@@ -874,0 +874,0 @@ type CastOptions = Omit<CastOptions$1, 'path' | 'resolved'>; |
{ | ||
"name": "yup", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Dead simple Object schema validation", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
248007