TypeScript-DOM-lib-generator icon indicating copy to clipboard operation
TypeScript-DOM-lib-generator copied to clipboard

Tool for generating dom related TypeScript and JavaScript library files

Results 220 TypeScript-DOM-lib-generator issues
Sort by recently updated
recently updated
newest added

Is there a proper way to use [@types/audioworklet](https://www.npmjs.com/package/@types/audioworklet) while keeping `"lib": ["DOM",...]` ? (In the installation notes it says: Update your _tsconfig.json_ to avoid clashing with the DOM APIs... You...

The `navigator.vibrate` API is currently always defined. However, according to the [navigator.vibrate MDN docs](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate), this is currently not supported in Safari: I'm proposing to update the `Navigator` interface to: ```ts...

The Fetch WG introduced a new `duplex` property to `RequestInit`[^1] back in July that [undici](https://npm.im/undici) is now abiding by when making payload requests with a `ReadableStream`[^2]. They have added this...

According to the [official HTML spec](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-method), the `method` attribute on a `form` element can be given one of three options, namely `"get"`, `"post"`, and `"dialog"`. Also, according to the spec,...

While we seem to support `[LegacyNullToEmptyString]` when it appears on method parameters, we do not appear to support it for attributes, such as on the `value` attribute of `HtmlInputElement`.

lib.dom.d.ts ubiquitously uses `Promise` for promises not resolving to undefined. It has done this for a long time. When the generator was written, there were 0 or 1 (I can't...

When creating an `XMLDocument` instance, and then using that `XMLDocument` to create an `Element`, the type that is assigned is `HTMLElement`. It should be an `Element`. Simple repro: My compilation...