Skip to content

Commit

Permalink
fix: Changed the Typescript target to ES2019 to make ?? work
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLandbridge committed May 4, 2023
1 parent e142300 commit 9b74870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "ES2020",
"target": "ES2019", // Needs to have this target otherwise nullish coalescing operator (??) will not work
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
Expand Down

0 comments on commit 9b74870

Please sign in to comment.