@shopify/react-form-state
Advanced tools
Comparing version 0.11.27 to 0.11.28
@@ -10,2 +10,8 @@ # Changelog | ||
## [0.11.28] - 2020-10-23 | ||
### Fixed | ||
- Export `StringMapper` interface [#1655](https://github.com/Shopify/quilt/pull/1655) | ||
## [0.11.27] - 2020-10-20 | ||
@@ -12,0 +18,0 @@ |
@@ -25,2 +25,5 @@ export interface FieldState<Value> { | ||
}; | ||
export interface StringMapper { | ||
(input: string): any; | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
@@ -0,7 +1,5 @@ | ||
import { StringMapper } from './types'; | ||
interface Matcher<Input, Fields = any> { | ||
(input: Input, fields: Fields): boolean; | ||
} | ||
interface StringMapper { | ||
(input: string): any; | ||
} | ||
declare type ErrorContent = string | StringMapper; | ||
@@ -8,0 +6,0 @@ export declare function validateNested<Input extends object, Fields>(validatorDictionary: any): (input: Input, fields: Fields) => any; |
{ | ||
"name": "@shopify/react-form-state", | ||
"version": "0.11.27", | ||
"version": "0.11.28", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Manage React forms tersely and type-safely with no magic", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
54698
944