Files
vue/tsconfig.json
王红彬 19fcb7963a init
2024-09-06 11:14:28 +08:00

47 lines
2.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"files": [],
"references": [
/* Bundler mode */
{
"path": "./tsconfig.app.json"
},
{
"path": "./tsconfig.node.json"
}
]
}
/*
### 1 (`tsconfig.node.json`):
1. **`target`: `ES2022`**
- ES2022使 ES2022 Node.js ES2022
2. **`lib`: `["ES2023"]`**
- 使 ES2023 JavaScript API
3. **`include`: `["vite.config.ts"]`**
- `vite.config.ts` Vite TypeScript
### 2 (`tsconfig.app.json`):
1. **`target`: `ES2020`**
- ES2020广
2. **`lib`: `["ES2020", "DOM", "DOM.Iterable"]`**
- ES2020 DOM DOM.Iterable使 Vue.jsReact DOM API
3. **`include`: `["src/*\*\/ *.ts", "src/*\*\/*.tsx", "src/*\*\/*.vue"]`**
- TypeScriptTSX Vue TypeScript
###
- **`jsx: "preserve"`**: `jsx` `preserve` React JSX 便 Babel
### 使
- ** 1** (`tsconfig.node.json`):
- Node.js Vite
- ** 2** (`tsconfig.app.json`):
- API JSX Web
TypeScript
*/