summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/browser/src')
-rw-r--r--packages/browser/src/helpers/webAuthnError.ts1
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;