diff --git a/package.json b/package.json index f23c250f..2a212376 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "scripts": { "prepare": "ts-patch install -s", "dev": "vite", - "build": "vite build && tsc && rm -rf tmp", + "build": "vite build && vue-tsc --declaration --emitDeclarationOnly && tsc && rm -rf tmp", "prepublishOnly": "yarn build", "test": "exit 0;", "lint:js": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .", @@ -62,7 +62,8 @@ "vite": "^2.6.10", "vite-svg-loader": "^2.2.0", "vue": "^3.2.21", - "vue-router": "^4.0.12" + "vue-router": "^4.0.12", + "vue-tsc": "^0.29.5" }, "peerDependencies": { "vue": "^3.2.21" diff --git a/src/additional-components/Background/Background.vue b/src/additional-components/Background/Background.vue index 024e519e..e1ed7390 100644 --- a/src/additional-components/Background/Background.vue +++ b/src/additional-components/Background/Background.vue @@ -1,7 +1,7 @@