From 25b8975294ed64950970ed7c46ce3426ad3b034b Mon Sep 17 00:00:00 2001 From: Vadim Korolik Date: Thu, 11 Jun 2026 16:38:19 +0000 Subject: [PATCH] fix: restore ES2017 lib in tsconfig.base.json The upstream refresh took upstream's "lib": ["es6", "dom"], which only compiles by accident in this repo: vitest's type declarations pull in modern ES lib references, masking uses of Array.prototype.includes and Object.entries. Inside the observability-sdk workspace the type layout differs and tsc fails with TS2550. Restore the fork's ES2017 lib, which matches the APIs the source actually uses. Co-Authored-By: Claude Fable 5 --- tsconfig.base.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.base.json b/tsconfig.base.json index d003a2cb..c995f4e5 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -10,7 +10,7 @@ "moduleResolution": "Node", "rootDir": "src", "outDir": "dist", - "lib": ["es6", "dom"], + "lib": ["ES2017", "dom"], "sourceMap": true, "skipLibCheck": true, "declaration": true,