Sync the quickstart tsconfig snippets
This commit is contained in:
parent
a0dcf16843
commit
ae4f7e0ad0
1 changed files with 2 additions and 0 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue