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

It seems currently the signature only goes for the first signature.

### 🔍 Search Terms formDisabledCallback, formResetCallback, formAssociatedCallback, formStateRestoreCallback ### ✅ Viability Checklist - [X] This wouldn't be a breaking change in existing TypeScript/JavaScript code - [X] This wouldn't change the...

Would it make sense to include some basic low level JSX infrastructure in DOM lib generation? There's certainly a direct correlation between DOM types and JSX "Intrinsic Element" types in...

This method may return null, but not according to the current type definitions.

Created a fresh branch to clean up the commit tree

Currently, we have: ``` declare function alert(message?: any): void; declare function prompt(message?: string, _default?: string): string | null; declare function confirm(message?: string): boolean; ``` Presumably `alert` is typed as taking...

https://github.com/microsoft/TypeScript/blob/main/lib/lib.dom.d.ts#L10642 Should have the return type specific to the passed value or string if generic string only (see https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver/supportedEntryTypes for possible values) Atm, one has to specify a @type to...

![image](https://github.com/microsoft/TypeScript-DOM-lib-generator/assets/16363180/90ffdb06-82ec-486e-a9c8-9bdb7dbe3c76) It has 28k+ lines, I wasn't able to interact with the IDE until it rendered the lib.dom.d.ts completely. Can we split it into smaller files ?

Because it's now a thing: https://github.blog/changelog/2023-06-30-grouped-version-updates-for-dependabot-public-beta/

The comment for `Element.tagName` [currently reads](https://github.com/microsoft/TypeScript-DOM-lib-generator/blob/main/inputfiles/idl/dom.commentmap.json#L105) "Returns the HTML-uppercased qualified name." That's true of `HTMLElement.tagName` specifically, but not of `Element.tagName` generally (e.g., neither `SVGElement.tagName` nor `MathMLElement.tagName` is uppercase). ![Screenshot 2023-09-13...