diff options
Diffstat (limited to 'packages/browser/src/helpers')
-rw-r--r-- | packages/browser/src/helpers/webAuthnError.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/browser/src/helpers/webAuthnError.ts b/packages/browser/src/helpers/webAuthnError.ts index 3f25a54..bf60341 100644 --- a/packages/browser/src/helpers/webAuthnError.ts +++ b/packages/browser/src/helpers/webAuthnError.ts @@ -29,6 +29,7 @@ export class WebAuthnError extends Error { cause: Error; name?: string; }) { + // @ts-ignore: help Rollup understand that `cause` is okay to set super(message, { cause }); this.name = name ?? cause.name; this.code = code; |