From fc10f937d057e53083f3466792cafaf02c773f30 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Thu, 23 May 2024 16:44:53 -0700 Subject: [PATCH] Update Node 18 to reflect that it supports lib=ES2023 --- Node-Target-Mapping.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Node-Target-Mapping.md b/Node-Target-Mapping.md index e3c0642..e130aea 100644 --- a/Node-Target-Mapping.md +++ b/Node-Target-Mapping.md @@ -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