From 5ca05db4d889471397ce33312e622a18cf653d67 Mon Sep 17 00:00:00 2001 From: Antoine Cormouls Date: Fri, 4 Dec 2020 21:19:23 +0100 Subject: fix type --- packages/typescript-types/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/typescript-types/src') diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts index 954615b..933407c 100644 --- a/packages/typescript-types/src/index.ts +++ b/packages/typescript-types/src/index.ts @@ -35,7 +35,7 @@ export interface PublicKeyCredentialCreationOptionsJSON export interface PublicKeyCredentialRequestOptionsJSON extends Omit { challenge: Base64URLString; - allowCredentials: PublicKeyCredentialDescriptorJSON[]; + allowCredentials: PublicKeyCredentialDescriptorJSON[] | undefined; } export interface PublicKeyCredentialDescriptorJSON -- cgit v1.2.3