@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.
Files changed (2) hide show
  1. package/lib/index.d.ts +1 -1
  2. 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<unknown>;
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
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maif/react-forms",
3
3
  "description": "Build react safe forms as fast as possible",
4
- "version": "1.3.1-rc.5",
4
+ "version": "1.3.1-rc.6",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
7
7
  "source": "src/index.ts",