We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdb7e5d commit c9750d8Copy full SHA for c9750d8
src/auth/user-record.ts
@@ -399,12 +399,12 @@ export class PasskeyInfo {
399
* @returns A JSON-serializable representation of this passkey info object.
400
*/
401
public toJSON(): object {
402
- const json: any = {
403
- name: this.name,
404
- credentialId: this.credentialId,
405
- displayName: this.displayName,
406
- }
407
- return json;
+ return {
+ name: this.name,
+ credentialId: this.credentialId,
+ displayName: this.displayName,
+ };
+ }
408
}
409
410
0 commit comments