From 39fd0e9877486728d42df63177ea9398ade9cae4 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 7 Aug 2024 14:53:03 -0700 Subject: [PATCH] tsconfig: Work around @sentry/electron regression. Signed-off-by: Anders Kaseorg --- tsconfig.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index dcd7347d..fb82846f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,12 @@ "module": "esnext", "moduleResolution": "bundler", "esModuleInterop": true, + "paths": { + // https://github.com/getsentry/sentry-electron/issues/957 + "@sentry/node/build/types/integrations/anr/common": [ + "./node_modules/@sentry/node/build/types/integrations/anr/common" + ] + }, "resolveJsonModule": true, "strict": true, "noImplicitOverride": true,