From 344a1dc82c70a9000deae2bae5905f7a23aafcb0 Mon Sep 17 00:00:00 2001 From: Ben Wilson Date: Thu, 24 Oct 2024 11:22:26 +0100 Subject: [PATCH] add missing @ts-expect-error comment --- .../plugin-window-unhandled-rejection/src/unhandled-rejection.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/plugin-window-unhandled-rejection/src/unhandled-rejection.ts b/packages/plugin-window-unhandled-rejection/src/unhandled-rejection.ts index 0a521f3e3..abba8cefc 100644 --- a/packages/plugin-window-unhandled-rejection/src/unhandled-rejection.ts +++ b/packages/plugin-window-unhandled-rejection/src/unhandled-rejection.ts @@ -29,6 +29,7 @@ export default (win = window): Plugin => { } catch (e) {} // Report unhandled promise rejections as handled if the user has configured it + // @ts-expect-error _config is private API const unhandled = !client._config.reportUnhandledPromiseRejectionsAsHandled const event = client.Event.create(error, false, {