@maif/react-forms 1.3.1-rc.5 → 1.3.1-rc.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ declare const test: (name: string, message: string | undefined, test: TestFuncti
|
|
|
58
58
|
declare const when: (ref: string, test: TestFunction<any, object>, then?: Constraint[], otherwise?: Constraint[]) => (r: AnySchema, key: string, dependencies: any[]) => yup.AnySchema<any, any, any>;
|
|
59
59
|
declare const oneOf: (arrayOfValues: any[], message?: string) => (r: AnySchema) => yup.AnySchema<any, any, any>;
|
|
60
60
|
declare const blacklist: (arrayOfValues: any[], message?: string) => (r: AnySchema) => yup.AnySchema<any, any, any>;
|
|
61
|
-
declare const ref: (ref: string) => Reference<
|
|
61
|
+
declare const ref: <T>(ref: string) => Reference<T>;
|
|
62
62
|
declare const jsonConstraints: Record<string, any>;
|
|
63
63
|
declare type TConstraintType = keyof typeof jsonConstraints;
|
|
64
64
|
|