Sync the quickstart tsconfig snippets

This commit is contained in:
Olivier Chafik 2026-09-08 18:39:50 +01:00
commit ae4f7e0ad0

View file

@ -59,6 +59,7 @@ npm pkg set scripts.start='concurrently --raw "cross-env NODE_ENV=development IN
```json source="../examples/quickstart/tsconfig.json" ```json source="../examples/quickstart/tsconfig.json"
{ {
"compilerOptions": { "compilerOptions": {
"types": ["node", "vite/client"],
"target": "ESNext", "target": "ESNext",
"lib": ["ESNext", "DOM", "DOM.Iterable"], "lib": ["ESNext", "DOM", "DOM.Iterable"],
"module": "ESNext", "module": "ESNext",
@ -87,6 +88,7 @@ npm pkg set scripts.start='concurrently --raw "cross-env NODE_ENV=development IN
```json source="../examples/quickstart/tsconfig.server.json" ```json source="../examples/quickstart/tsconfig.server.json"
{ {
"compilerOptions": { "compilerOptions": {
"types": ["node"],
"target": "ES2022", "target": "ES2022",
"lib": ["ES2022"], "lib": ["ES2022"],
"module": "NodeNext", "module": "NodeNext",