Update Node 18 to reflect that it supports lib=ES2023

This commit is contained in:
Jake Bailey 2024-05-23 16:44:53 -07:00
Родитель 5e177a13bb
Коммит fc10f937d0
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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