summaryrefslogtreecommitdiffhomepage
path: root/packages/typescript-types/src
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-07-04 08:17:00 -0700
committerMatthew Miller <matthew@millerti.me>2022-07-04 08:17:00 -0700
commit803c0cd5d9321c673fb556b16e37c8d583ba8a1d (patch)
tree9262af52ffe73e61f370291033279a824ae92368 /packages/typescript-types/src
parent21f7bf8ce7562c486bfa0e4e7e4b58fcef520cf0 (diff)
Update the interface that credentials extend
Diffstat (limited to 'packages/typescript-types/src')
-rw-r--r--packages/typescript-types/src/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts
index e1cfd2b..0fc1a53 100644
--- a/packages/typescript-types/src/index.ts
+++ b/packages/typescript-types/src/index.ts
@@ -56,7 +56,7 @@ export interface PublicKeyCredentialUserEntityJSON
/**
* The value returned from navigator.credentials.create()
*/
-export interface RegistrationCredential extends PublicKeyCredential {
+export interface RegistrationCredential extends PublicKeyCredentialFuture {
response: AuthenticatorAttestationResponseFuture;
}
@@ -75,7 +75,7 @@ export interface RegistrationCredentialJSON
/**
* The value returned from navigator.credentials.get()
*/
-export interface AuthenticationCredential extends PublicKeyCredential {
+export interface AuthenticationCredential extends PublicKeyCredentialFuture {
response: AuthenticatorAssertionResponse;
}