tsconfig.json
@@ -9,6 +9,7 @@ "experimentalDecorators": true, "skipLibCheck": true, "esModuleInterop": true, "allowJs": true, //编译时允许有js "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "useDefineForClassFields": true, @@ -26,7 +27,8 @@ "src/**/*.vue", "tests/**/*.ts", "tests/**/*.tsx", "src/components/config/particles-config.js" "src/components/config/particles-config.js", "src/utils/drag.js" ], "exclude": ["node_modules"] }