File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,7 @@ interface AuthenticationExtensionsClientOutputsJSON
15
15
16
16
export interface PublicKeyCredentialWithClientExtensionResults
17
17
extends PublicKeyCredential {
18
- // TODO: This field is technically not optional in the spec, but Firefox hasn't implemented it.
19
- authenticatorAttachment ?: string ;
18
+ authenticatorAttachment ?: string | null ;
20
19
clientExtensionResults ?: AuthenticationExtensionsClientOutputsJSON ;
21
20
}
22
21
@@ -45,7 +44,7 @@ interface PublicKeyCredentialJSON {
45
44
type : PublicKeyCredentialType ;
46
45
rawId : Base64urlString ;
47
46
// TODO: This field is technically not optional in the spec, but Firefox hasn't implemented it.
48
- authenticatorAttachment ?: AuthenticatorAttachment ;
47
+ authenticatorAttachment ?: AuthenticatorAttachment | null ;
49
48
}
50
49
51
50
// `navigator.create()` request
@@ -88,7 +87,7 @@ export interface AuthenticatorAttestationResponseJSON {
88
87
attestationObject : Base64urlString ;
89
88
transports : string [ ] ;
90
89
// This field is technically not optional in the spec, but Firefox hasn't implemented it.
91
- authenticatorAttachment ?: AuthenticatorAttachment ;
90
+ authenticatorAttachment ?: AuthenticatorAttachment | null ;
92
91
}
93
92
94
93
export interface PublicKeyCredentialWithAttestationJSON
You can’t perform that action at this time.
0 commit comments