Skip to content

Commit

Permalink
refactor: update tsconfig (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
gao-sun authored Feb 17, 2023
1 parent 4ffdaef commit d231fb4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/khaki-moose-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@silverhand/ts-config": patch
---

Update target to esnext and compiler option
3 changes: 2 additions & 1 deletion packages/ts-config/tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"compilerOptions": {
"target": "es2022",
"target": "esnext",
"useDefineForClassFields": false, // update until https://github.com/microsoft/TypeScript/issues/50971 is fixed
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
Expand Down

0 comments on commit d231fb4

Please sign in to comment.