diff --git a/types/index.d.ts b/types/index.d.ts index a3612228a..82593d048 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -98,6 +98,7 @@ export interface StoreOptions { modules?: ModuleTree; plugins?: Plugin[]; strict?: boolean; + devtools?: boolean; } export type ActionHandler = (this: Store, injectee: ActionContext, payload?: any) => any; diff --git a/types/test/index.ts b/types/test/index.ts index c417c8bb7..288a5737f 100644 --- a/types/test/index.ts +++ b/types/test/index.ts @@ -98,7 +98,8 @@ namespace RootModule { mutations: { bar (state, payload) {} }, - strict: true + strict: true, + devtools: true }); }