@shopify/react-form-state
Advanced tools
Comparing version 0.11.2 to 0.11.3
@@ -11,3 +11,3 @@ import * as React from 'react'; | ||
interface SubmitHandler<Fields> { | ||
(formDetails: FormData<Fields>): MaybePromise<RemoteError[]> | MaybePromise<void>; | ||
(formDetails: FormData<Fields>): MaybePromise<RemoteError[]> | MaybePromise<void> | MaybePromise<RemoteError[] | void>; | ||
} | ||
@@ -14,0 +14,0 @@ export declare type Validator<T, F> = MaybeArray<ValidationFunction<T, F>>; |
{ | ||
"name": "@shopify/react-form-state", | ||
"version": "0.11.2", | ||
"version": "0.11.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Manage react forms tersely and type-safe with no magic.", |
@@ -25,3 +25,4 @@ /* eslint-disable no-case-declarations */ | ||
| MaybePromise<RemoteError[]> | ||
| MaybePromise<void>; | ||
| MaybePromise<void> | ||
| MaybePromise<RemoteError[] | void>; | ||
} | ||
@@ -28,0 +29,0 @@ |
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
191519
4201