Skip to content

Commit 2872986

Browse files
snaptopixelyyx990803
authored andcommitted
Add declaration file for TypeScript (#40)
1 parent 714fec4 commit 2872986

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

index.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import {Store} from 'vuex';
2+
import VueRouter = require('vue-router');
3+
4+
interface SyncOptions {
5+
moduleName: string;
6+
}
7+
8+
export declare function sync(store: Store<any>, router: VueRouter, options?: SyncOptions);

0 commit comments

Comments
 (0)