Skip to content

Commit

Permalink
fix: TS lib Support for Node 18+ (#913)
Browse files Browse the repository at this point in the history
* fix: Lib Support for Node 18+

- Background: https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping

* chore: OCD
  • Loading branch information
danielbankhead authored Oct 25, 2024
1 parent 3d740b7 commit 82aa8e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tsconfig-google.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"allowUnusedLabels": false,
"composite": true,
"forceConsistentCasingInFileNames": true,
"lib": ["es2018"],
"lib": ["ES2023"],
"module": "commonjs",
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
Expand All @@ -13,7 +13,7 @@
"sourceMap": true,
"stripInternal": true,
"strict": true,
"target": "es2018"
"target": "ES2022"
},
"exclude": ["node_modules"]
}

0 comments on commit 82aa8e3

Please # to comment.