Browse Source

fix module namespaced option typing

Evan You 8 years ago
parent
commit
220e193470
1 changed files with 1 additions and 1 deletions
  1. 1 1
      types/index.d.ts

+ 1 - 1
types/index.d.ts

@@ -84,7 +84,7 @@ export type Mutation<S> = (state: S, payload: any) => any;
 export type Plugin<S> = (store: Store<S>) => any;
 
 export interface Module<S, R> {
-  namespace?: string;
+  namespaced?: boolean;
   state?: S;
   getters?: GetterTree<S, R>;
   actions?: ActionTree<S, R>;