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 208 TypeScript-DOM-lib-generator issues
Sort by recently updated
recently updated
newest added

This conversion only makes sense for parameters but not for return types. `getUniformIndices()` for WebGL is currently affected.

Adding `lib: ['DOM']` introduces 790 global variables. Many of these are deprecated and useless. Many of them have short names that can hide mistakes like a missing `var` or `let`....

The `cloneNode` return type is incorrect as per #283, #302, https://github.com/microsoft/TypeScript/issues/17818 and #1578. The type before this PR indicated that `cloneNode` returned a `Node`, which then broke any class that...

This introduces a type parameter to `EventTarget` such that the following is now possible: ```ts interface CustomMap { 'test-event': CustomEvent; } declare const customTarget: EventTarget; customTarget.addEventListener('test-event', (event) => { //...

The "update core dependencies" workflow is broken again, [see log](https://github.com/microsoft/TypeScript-DOM-lib-generator/actions/runs/8866182335/job/24343313801#step:6:1): ``` Run npm i npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR!...

maintainers

This is a follow-on PR to https://github.com/microsoft/TypeScript/pull/58243 to add `BuiltinIteratorReturn` to all `IterableIterator` and `AsyncIterableIterator` return types. TODO: - [ ] Update the `"typescript"` dependency in package.json to a shipping...

maintainers

In lib.dom.d.ts Node.parentElement is defined as being HTMLelement | null. However, it should Element | null. The [spec](https://dom.spec.whatwg.org/#interface-node) confirms this. This issue was originally fixed by #885 but was reverted...