Explorar o código

fix module namespaced option typing

Evan You %!s(int64=8) %!d(string=hai) anos
pai
achega
220e193470
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>;