summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAntoine Cormouls <contact.antoine.cormouls@gmail.com>2020-12-04 21:19:23 +0100
committerAntoine Cormouls <contact.antoine.cormouls@gmail.com>2020-12-04 21:19:23 +0100
commit5ca05db4d889471397ce33312e622a18cf653d67 (patch)
tree531b2fba99bbec4f96a969560de747d64776bb63
parent5f508216dc3ee38a7f17c038b367e8575ab14929 (diff)
fix type
-rw-r--r--packages/typescript-types/src/index.ts2
1 files changed, 1 insertions, 1 deletions
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<PublicKeyCredentialRequestOptions, 'challenge' | 'allowCredentials'> {
challenge: Base64URLString;
- allowCredentials: PublicKeyCredentialDescriptorJSON[];
+ allowCredentials: PublicKeyCredentialDescriptorJSON[] | undefined;
}
export interface PublicKeyCredentialDescriptorJSON