Skip to content

Commit 6699402

Browse files
committed
export a default type
1 parent 7fab324 commit 6699402

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/index.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,19 @@ export const shift: Mutator
99
export const swap: Mutator
1010
export const unshift: Mutator
1111

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+
1225
/** The shape of the mutators once final-form has bound them to state */
1326
export interface Mutators {
1427
insert: (name: string, index: number, value: any) => void

0 commit comments

Comments
 (0)