diff options
author | Matthew Miller <matthew@millerti.me> | 2023-08-18 13:31:35 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2023-08-18 13:31:35 -0700 |
commit | bf93b0a1f1773da1682365e7c0b6386d2a7ec53c (patch) | |
tree | 925c65aa62565384ebe3238ac5dc95d304099ecf /packages/browser/src/helpers/webAuthnError.ts | |
parent | 797b40972dd7233cab75c5ec8597bd42f49749ef (diff) |
Switch to @rollup/plugin-terser in browser build
Diffstat (limited to 'packages/browser/src/helpers/webAuthnError.ts')
-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; |