summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-06-20 11:16:48 -0700
committerMatthew Miller <matthew@millerti.me>2022-06-20 11:16:48 -0700
commit34cad8c805bf85e1523102312b6b0cf4967bc195 (patch)
tree2613a5e0787d9275c350ec85a3df941bd4ea679f /packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts
parente08155702054b960f143b3452cfdc479831eb7ad (diff)
Run `npm lint` on PR's files
Diffstat (limited to 'packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts')
-rw-r--r--packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts7
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()
);
}