TypeScript-DOM-lib-generator
TypeScript-DOM-lib-generator copied to clipboard
Add support for Navigation API
Currently the navigation object is not available in the DOM and while the Navigation API is still experimental there is decent support for it in modern versions of browser. It'd be great to have it available as part of the default typescript DOM types.
decent support for it in modern versions of browser
Not, sadly it has not, according to MDN database
https://github.com/microsoft/TypeScript-DOM-lib-generator#why-is-my-fancy-api-still-not-available-here
A feature needs to be supported by two or more major browser engines to be included here, to make sure there is a good consensus among vendors: Gecko (Firefox), Blink (Chrome/Edge), and WebKit (Safari).
https://developer.mozilla.org/en-US/docs/Web/API/Navigation_API#browser_compatibility Blink only