前端: 添加TypeScript配置

This commit is contained in:
Frontend Developer 2026-03-10 09:44:09 +00:00
parent c9212d8d67
commit 845bf03283

10
frontend/tsconfig.json Normal file
View File

@ -0,0 +1,10 @@
{
"compilerOptions": {
"target": "ES2020",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"jsx": "react-jsx",
"module": "ESNext",
"strict": true,
"esModuleInterop": true
}
}