TypeScript-DOM-lib-generator
TypeScript-DOM-lib-generator copied to clipboard
Tool for generating dom related TypeScript and JavaScript library files
https://developer.mozilla.org/en-US/docs/Web/API/CSS_Custom_Highlight_API Supported in Chrome, Safari, and Firefox nightly.
Created a fresh branch to clean up the commit tree
I just updated from 5.1.3 to 5.2.2 and I cannot compile anymore because the "lock" method was removed from the ScreenOrientation interface. I don't think this is correct. This is...
Hopefully fixes https://github.com/microsoft/TypeScript/issues/299 Added generics to Events so that `target` and `currentTarget`'s types can be parameterized and event listeners can take a callback that expects an event targeting the receiver's...
Hi, first of all, thanks for your work on these type declarations, they are invaluable for working with web standards APIs. It seems as if the following is not yet...
### Use case I want to write an isomorphic library that runs in the browser and nodejs. I want to make sure that I only rely on globals that are...
1. `RTCPeerConnectionIceEventInit.url` - [Safari 12+ only](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceEvent#browser_compatibility) 2. `FetchEventInit.replacesClientId` - [already removed form Safari](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/replacesClientId)
The `ResizeObserver` class is only available as a global declaration and not on the `Window` interface. I think it should also be available on the `Window` interface for at least...
Currently it is defined in lib.dom.ts to return `Promise`. See the [MDN page for update()](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/update) which mentions: > Return value A [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) that resolves with a [ServiceWorkerRegistration](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration) object. [The spec](https://w3c.github.io/ServiceWorker/#service-worker-registration-update)...
The Web IDL definition specifies an `enqueue` method for the [ReadableStreamDefaultController](https://streams.spec.whatwg.org/#readablestreamdefaultcontroller) class with the following signature: ``` undefined enqueue(optional any chunk); ``` The `chunk` parameter is optional which probably is...