Skip to content

Commit

Permalink
Swap out union type for object w/comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterKale committed Sep 20, 2023
1 parent 58d60d0 commit 8af0385
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1609,7 +1609,9 @@ that are returned to the caller when a new credential is created, or a new asser

<xmp class="idl">
typedef DOMString Base64URLString;
typedef (RegistrationResponseJSON or AuthenticationResponseJSON) PublicKeyCredentialJSON;
// The structure of this object will be either
// RegistrationResponseJSON or AuthenticationResponseJSON
typedef object PublicKeyCredentialJSON;

dictionary RegistrationResponseJSON {
required Base64URLString id;
Expand Down

0 comments on commit 8af0385

Please sign in to comment.