summaryrefslogtreecommitdiffhomepage
path: root/packages/typescript-types
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-12-08 10:11:33 -0800
committerGitHub <noreply@github.com>2020-12-08 10:11:33 -0800
commit58369389fa1de782d7e3764a9844124c9fcf12eb (patch)
tree6b0cddef05f798366b7154caa8d24a00e3a8c230 /packages/typescript-types
parent4f1a0ab1225a34788d3c1f9bf4a9c0b7cc31b17b (diff)
parentf5a8b982440774710ee8e2ac87d7b782ba98f4f6 (diff)
Merge pull request #79 from Moumouls/moumouls/allowCredentials
Optional Allow Credential
Diffstat (limited to 'packages/typescript-types')
-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..436f7ff 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[];
}
export interface PublicKeyCredentialDescriptorJSON