diff --git a/packages/plugin-window-unhandled-rejection/src/unhandled-rejection.ts b/packages/plugin-window-unhandled-rejection/src/unhandled-rejection.ts index 6ed782e04..f91f05f8a 100644 --- a/packages/plugin-window-unhandled-rejection/src/unhandled-rejection.ts +++ b/packages/plugin-window-unhandled-rejection/src/unhandled-rejection.ts @@ -33,7 +33,7 @@ declare global { onunhandledrejection: OnUnhandledRejection | null } interface Error { - code?: string + code?: number | string } }