[@types/webappsec-credential-management] Change RP ID to optional. (#36590)

See https://www.w3.org/TR/webauthn/#sctn-rp-credential-params
This commit is contained in:
Lucas Garron 2019-07-08 16:00:00 -07:00 committed by Armando Aguirre
parent cf7dfa2e4b
commit e7c7dc46e8

View File

@ -399,7 +399,7 @@ interface PublicKeyCredentialRequestOptions {
* @see {@link https://w3c.github.io/webauthn/#dictdef-publickeycredentialrpentity}
*/
interface PublicKeyCredentialRpEntity {
id: string;
id?: string;
name: string;
}