Skip to content

Commit 92e05b7

Browse files
committed
fixed type definition issue with vuex library
1 parent 65d37f5 commit 92e05b7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extends": "@vue/tsconfig/tsconfig.dom.json",
3-
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
3+
"include": ["env.d.ts", "vuex.d.ts", "src/**/*", "src/**/*.vue"],
44
"compilerOptions": {
55
"baseUrl": ".",
66
"paths": {

vuex.d.ts

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
declare module "vuex" {
2+
export * from "vuex/types/index.d.ts";
3+
export * from "vuex/types/helpers.d.ts";
4+
export * from "vuex/types/logger.d.ts";
5+
export * from "vuex/types/vue.d.ts";
6+
}

0 commit comments

Comments
 (0)