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, {