diff options
author | Matthew Miller <matthew@millerti.me> | 2023-08-18 11:11:56 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2023-08-18 11:11:56 -0700 |
commit | dfb32f4891f6c955c25b2f305fa702cdaf8c5a5e (patch) | |
tree | 07c3c57caa54c77a08a209fd3cc509a359ed03e4 /packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts | |
parent | de5e22f5fec4eb980c77f00c586a1179565359d7 (diff) |
Format browser
Diffstat (limited to 'packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts')
-rw-r--r-- | packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts b/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts index afc1176..b3b1e86 100644 --- a/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts +++ b/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts @@ -1,4 +1,4 @@ -import { PublicKeyCredentialFuture } from '@simplewebauthn/typescript-types'; +import { PublicKeyCredentialFuture } from "@simplewebauthn/typescript-types"; /** * Determine if the browser supports conditional UI, so that WebAuthn credentials can @@ -11,8 +11,8 @@ export async function browserSupportsWebAuthnAutofill(): Promise<boolean> { * want. I think I'm fine with this for now since it's _supposed_ to be temporary, until TS types * have a chance to catch up. */ - const globalPublicKeyCredential = - window.PublicKeyCredential as unknown as PublicKeyCredentialFuture; + const globalPublicKeyCredential = window + .PublicKeyCredential as unknown as PublicKeyCredentialFuture; return ( globalPublicKeyCredential.isConditionalMediationAvailable !== undefined && |