-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do thisYou can do this
Milestone
Description
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
Lines 25 to 31 in 2f47527
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 ¯\_(ツ)_/¯
lukeapage
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do thisYou can do this