-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
Domain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptWorking as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
Description
Bug Report
Recent changes to the Navigator interface for 4.4 removed previous extensions; however, the previously extended type is still present in lib.dom.d.ts and should be added back to the interface.
🔎 Search Terms
Navigator, MSFileSaver, msSaveBlob, msSaveOrOpenBlob
🕗 Version & Regression Information
Injected starting with 9d443b7
- This prevents building
⏯ Playground Link
Playground link with relevant code
💻 Code
if (window.navigator.msSaveBlob) {
console.log("Type works!")
}
if (window.navigator.msSaveOrOpenBlob) {
console.log("Type works!")
}
🙁 Actual behavior
TS2339: Property 'msSaveOrOpenBlob' does not exist on type 'Navigator'.
TS2339: Property 'msSaveBlob' does not exist on type 'Navigator'.
🙂 Expected behavior
Appropriately typed file continues to build as it did previously.
Metadata
Metadata
Assignees
Labels
Domain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptWorking as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug