TypeScript-DOM-lib-generator
TypeScript-DOM-lib-generator copied to clipboard
Tool for generating dom related TypeScript and JavaScript library files
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
The only addition in the patches file is to support multiple types and nullable
## Problem Current contributor guidelines requires 2 major browser engines to implement a new Web API for its definition to be added to TS DOM types. https://github.com/microsoft/TypeScript-DOM-lib-generator#why-is-my-fancy-api-still-not-available-here Seeing as Blink...
This PR fixes https://github.com/Microsoft/TypeScript/issues/62075. Originally, I created this https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/2148#issuecomment-3289858315, but closed it as the that approach wasn't ideal. I started with `Omit` as an approach. However, I quickly realized it...
### Summary `typeof document.documentElement.requestFullscreen` is `undefined` in iOS Safari ### Expected vs. Actual Behavior `typeof document.documentElement.requestFullscreen` Expected: not defined in iOS 26.0.1 Safari (and probably in the webview) Actual: always...
I don't understand the reason behind https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/2108#discussion_r2257439305, this works perfectly?
Can you test this @jakebailey ? Sorry for the late PR, I was busy
Fixes #1641. Fixes #2172. Alternative to #1762. Supersedes #2075. Reference: https://webidl.spec.whatwg.org/#dfn-class-string This amends the builder to append `Symbol.toStringTag` properties to interfaces and iterators in the ts6.0 core libraries. (ES6's well-known...
Because who have thought that there are so many existing empty interfaces which are also used as parameter types. And thus this follows the pattern in https://www.typescriptlang.org/play/?#example/nominal-typing. Preparing for #2074.