From 37c628af0a6152c9967b389ef351c9b490f57c63 Mon Sep 17 00:00:00 2001 From: Anders Jansson Date: Tue, 26 May 2026 09:14:31 +0200 Subject: [PATCH] Add 'es2022.error' to TypeScript lib options This adds support for the cause parameter, which Hermes supports. --- packages/typescript-config/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/typescript-config/tsconfig.json b/packages/typescript-config/tsconfig.json index e6c46e961d1a..f0a9d513858c 100644 --- a/packages/typescript-config/tsconfig.json +++ b/packages/typescript-config/tsconfig.json @@ -18,7 +18,8 @@ "es2021.weakref", "es2022.array", "es2022.object", - "es2022.string" + "es2022.string", + "es2022.error" ], "allowJs": true, "jsx": "react-native",