diff --git a/types/index.d.ts b/types/index.d.ts index b2a21f0db..f482095c8 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -18,7 +18,7 @@ export declare class Store { commit: Commit; subscribe

(fn: (mutation: P, state: S) => any): () => void; - watch(getter: (state: S) => T, cb: (value: T, oldValue: T) => void, options?: WatchOptions): void; + watch(getter: (state: S) => T, cb: (value: T, oldValue: T) => void, options?: WatchOptions): () => void; registerModule(path: string, module: Module): void; registerModule(path: string[], module: Module): void;