mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-09-03 07:40:28 +00:00
Merge pull request #19259 from JozefBiros/redux-from-submission-error-fix
Added SubmissionError into export for immutabable
This commit is contained in:
+1
@@ -20,4 +20,5 @@ export {
|
||||
isPristine,
|
||||
isSubmitting,
|
||||
isValid,
|
||||
SubmissionError
|
||||
} from "redux-form";
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
import { FormErrors } from "redux-form";
|
||||
|
||||
export interface SubmissionErrorConstructor<T = void> {
|
||||
export interface SubmissionErrorConstructor<T> {
|
||||
new (errors?: FormErrors<T>): Error;
|
||||
}
|
||||
|
||||
declare const SubmissionError: SubmissionErrorConstructor;
|
||||
declare const SubmissionError: SubmissionErrorConstructor<any>;
|
||||
|
||||
Reference in New Issue
Block a user