Skip to content

Commit 6d7d6ce

Browse files
committed
Fixes #22 fixes typescript module definition
1 parent 2b584f7 commit 6d7d6ce

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

types/index.d.ts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
import Vue from 'vue';
1+
declare module 'vue-autonumeric' {
2+
import Vue from 'vue';
23

3-
export default class VueAutonumeric extends Vue {
4-
public value: number | null | string;
5-
public options: object | string | object[] | string[];
6-
public resetOnOptions: boolean;
7-
public placeholder: string;
8-
public tag: string;
4+
export default class VueAutonumeric extends Vue {
5+
public value: number | null | string;
6+
public options: object | string | object[] | string[];
7+
public resetOnOptions: boolean;
8+
public placeholder: string;
9+
public tag: string;
10+
}
911
}

0 commit comments

Comments
 (0)