Skip to content

Commit

Permalink
Update Node 18 to reflect that it supports lib=ES2023
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed May 23, 2024
1 parent 5e177a1 commit fc10f93
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Node-Target-Mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ To update this file, you can use [node.green](https://node.green) to map to the
```json
{
"compilerOptions": {
"lib": ["ES2022"],
"lib": ["ES2023"],
"module": "node16",
"target": "ES2022"
}
}
```

Note: All versions of Node 18 support all ES2023 runtime features, so `lib` can be safely set to `ES2023`.

#### Node 16

```json
Expand Down

0 comments on commit fc10f93

Please sign in to comment.