diff options
Diffstat (limited to 'packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts')
-rw-r--r-- | packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts b/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts index ecf557e..f8ffead 100644 --- a/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts +++ b/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts @@ -17,10 +17,11 @@ 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 - && globalPublicKeyCredential.isConditionalMediationAvailable() + globalPublicKeyCredential.isConditionalMediationAvailable && + globalPublicKeyCredential.isConditionalMediationAvailable() ); } |