From 211180a801fb0e4dc9ec47dc5d4fb2450a631226 Mon Sep 17 00:00:00 2001 From: bbassie <17990055+bbassie@users.noreply.github.com> Date: Tue, 17 Nov 2026 16:13:55 +0000 Subject: [PATCH] Type check Node.js code against ES2024 Node.js 22 supports all of it. Co-Authored-By: Claude Opus 5.5 --- packages/lib/tsconfig.node.json | 2 +- tsconfig.node.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/lib/tsconfig.node.json b/packages/lib/tsconfig.node.json index aa054f1c..cd88dc5b 100644 --- a/packages/lib/tsconfig.node.json +++ b/packages/lib/tsconfig.node.json @@ -5,6 +5,6 @@ "compilerOptions": { "allowJs": true, // SubscriptionFilters.union clashes with the native Set.union - "lib": ["es2023"], + "lib": ["es2024"], }, } diff --git a/tsconfig.node.json b/tsconfig.node.json index afebc425..ef53e592 100644 --- a/tsconfig.node.json +++ b/tsconfig.node.json @@ -1,7 +1,7 @@ { "extends": "./tsconfig.base.json", "compilerOptions": { - "lib": ["es2023", "es2025.collection"], + "lib": ["es2024", "es2025.collection"], "types": ["node"], "module": "nodenext", "moduleResolution": "node16",