Add `devtools` to store options type test: add test case for devtools type
@@ -98,6 +98,7 @@ export interface StoreOptions<S> {
modules?: ModuleTree<S>;
plugins?: Plugin<S>[];
strict?: boolean;
+ devtools?: boolean;
}
export type ActionHandler<S, R> = (this: Store<R>, injectee: ActionContext<S, R>, payload?: any) => any;
@@ -98,7 +98,8 @@ namespace RootModule {
mutations: {
bar (state, payload) {}
},
- strict: true
+ strict: true,
+ devtools: true
});