Skip to content

Commit

Permalink
chore: update compiler target
Browse files Browse the repository at this point in the history
  • Loading branch information
martinstark committed Mar 27, 2024
1 parent f9bbb6a commit e7ec33b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
{
"compilerOptions": {
"target": "ES2020",
"target": "esnext",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"lib": ["esnext", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,

/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",

/* Linting */
"strict": true,
"noUnusedLocals": true,
Expand All @@ -22,5 +20,9 @@
},
"include": ["src"],
"exclude": ["./node_modules"],
"references": [{ "path": "./tsconfig.node.json" }]
"references": [
{
"path": "./tsconfig.node.json"
}
]
}

0 comments on commit e7ec33b

Please sign in to comment.