diff --git a/examples/vite/package.json b/examples/vite/package.json index 8c36cbdd..bee1a6e6 100644 --- a/examples/vite/package.json +++ b/examples/vite/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "vite --open", - "lint": "eslint --ext .js,.ts,.vue ./" + "lint": "eslint --ext .js,.ts,.vue ./ && vue-tsc --noEmit" }, "dependencies": { "@vue-flow/background": "workspace:*", @@ -26,6 +26,7 @@ "vite": "^4.3.5", "vite-svg-loader": "^3.6.0", "vue": "^3.2.45", - "vue-router": "^4.1.6" + "vue-router": "^4.1.6", + "vue-tsc": "^1.6.5" } } diff --git a/examples/vite/src/CustomConnectionLine/CustomConnectionLine.vue b/examples/vite/src/CustomConnectionLine/CustomConnectionLine.vue index 0856a392..5eeee45f 100644 --- a/examples/vite/src/CustomConnectionLine/CustomConnectionLine.vue +++ b/examples/vite/src/CustomConnectionLine/CustomConnectionLine.vue @@ -1,8 +1,9 @@ -