Skip to content

Commit

Permalink
build(typescript): audit TypeScript configuration (#226)
Browse files Browse the repository at this point in the history
* build(typescript): remove unnecessary compiler options

* build(typescript): adjust style for value of `module` and `target` compiler options

* build(typescript): use `node16` module instead of `nodenext`

* build(typescript): enable `exactOptionalPropertyTypes` compiler option
  • Loading branch information
threeal authored Dec 1, 2023
1 parent 9ce5637 commit d976d24
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
"compilerOptions": {
"exactOptionalPropertyTypes": true,
"strict": true,
"module": "NodeNext",
"moduleResolution": "NodeNext",
"module": "node16",
"declaration": true,
"outDir": "dist",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"lib": ["ES2022"],
"target": "ES2022",
"target": "es2022",
"skipLibCheck": true
},
"include": ["src"]
Expand Down

0 comments on commit d976d24

Please sign in to comment.