Skip to content

lib.dom.d.ts contains interface Account #42440

Closed
@Aprillion

Description

@Aprillion

Bug Report

🔎 Search Terms

https://github.com/microsoft/TypeScript/issues?q=is%3Aissue+is%3Aopen+lib.dom.d.ts+Account
Following issues seem related, but none suggests removal of the Account interface: #32845, #19040, #23595

🕗 Version & Regression Information

?

⏯ Playground Link

N/A

💻 Code

interface Account {
displayName: string;
id: string;
imageURL?: string;
name?: string;
rpDisplayName: string;
}

🙁 Actual behavior

interface Account is present in lib.dom.d.ts without an explanation in comment or git commit message.

🙂 Expected behavior

There is no real DOM API with such interface => should be either removed or explained with a comment.

Maybe it was created by webscraping MDN? https://developer.mozilla.org/en-US/account/ page exists and it displays info similar to the interface for logged in users ¯\_(ツ)_/¯

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions