Skip to content

🎬 火宝短剧 - 基于AI的一站式短剧生成平台 《一句话生成完整短剧,从剧本到成片全自动化》 Huobao Drama - An AI-Powered End-to-End Short Drama Generator "One Sentence to Complete Drama: Fully Automated from Script to Final Video"

TypeScript

README 文件修改

Connor76c95340cf8f
diff --git a/web/package.json b/web/package.json
index dacc0d1..ff5f333 100644
--- a/web/package.json
+++ b/web/package.json
@@ -24,6 +24,7 @@
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.0",
+ "@types/node": "^20.10.0",
"@vitejs/plugin-vue": "^5.0.0",
"@vue/tsconfig": "^0.5.0",
"autoprefixer": "^10.4.0",
diff --git a/web/tsconfig.node.json b/web/tsconfig.node.json
index 42872c5..b940375 100644
--- a/web/tsconfig.node.json
+++ b/web/tsconfig.node.json
@@ -4,7 +4,8 @@
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler",
- "allowSyntheticDefaultImports": true
+ "allowSyntheticDefaultImports": true,
+ "types": ["node"]
},
"include": ["vite.config.ts"]
}