Selaa lähdekoodia

fix module namespaced option typing

Evan You 8 vuotta sitten
vanhempi
commit
220e193470
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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>;