We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fab324 commit 6699402Copy full SHA for 6699402
src/index.d.ts
@@ -9,6 +9,19 @@ export const shift: Mutator
9
export const swap: Mutator
10
export const unshift: Mutator
11
12
+interface DefaultType {
13
+ insert: Mutator
14
+ move: Mutator
15
+ pop: Mutator
16
+ push: Mutator
17
+ remove: Mutator
18
+ shift: Mutator
19
+ swap: Mutator
20
+ unshift: Mutator
21
+}
22
+
23
+export default DefaultType
24
25
/** The shape of the mutators once final-form has bound them to state */
26
export interface Mutators {
27
insert: (name: string, index: number, value: any) => void
0 commit comments