summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'packages/browser/src/helpers')
-rw-r--r--packages/browser/src/helpers/toAuthenticatorAttachment.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/browser/src/helpers/toAuthenticatorAttachment.ts b/packages/browser/src/helpers/toAuthenticatorAttachment.ts
index 7a2aca0..366cf8f 100644
--- a/packages/browser/src/helpers/toAuthenticatorAttachment.ts
+++ b/packages/browser/src/helpers/toAuthenticatorAttachment.ts
@@ -5,7 +5,9 @@ const attachments: AuthenticatorAttachment[] = ['cross-platform', 'platform'];
/**
* If possible coerce a `string` value into a known `AuthenticatorAttachment`
*/
-export function toAuthenticatorAttachment(attachment: string | null): AuthenticatorAttachment | undefined {
+export function toAuthenticatorAttachment(
+ attachment: string | null,
+): AuthenticatorAttachment | undefined {
if (!attachment) {
return;
}