TypeScript-DOM-lib-generator
TypeScript-DOM-lib-generator copied to clipboard
Tool for generating dom related TypeScript and JavaScript library files
add URLPattern type in DOM or something lib?
# lib Update Request ## Configuration Check My compilation *target* is `ESNEXT` and my *lib* is `the default`. ## Missing / Incorrect Definition [URLPattern](https://web.dev/urlpattern/) is enabled by default in Chrome...
Ambiguity in the Contribution Guidelines
I'm interested in updating some WebAuthn-related types like `AuthenticatorTransport` and `AuthenticatorAttestationResponse` that have gained new properties and values in the wild, but these new values aren't represented in the respective...
[QUESTION] Any plans to include Window-Placement API
Hello! I have read that a feature have to be supported by two major browser engines to be included. However, I was just wondering if there are any plans in...
Support for `structuredClone`
New DOM api `structuredClone` should be added. MDN: https://developer.mozilla.org/en-US/docs/Web/API/structuredClone
TypeScript 4.4 libdom changes
### Beta With TypeScript 4.4, we coordinated some pretty [fundamental infrastructure work](https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/1023) to prepare for the version of `dom.d.ts` with the future of the generator repo. This work resulted in...
Type "clipboard-write" is not assignable to type "PermissionName"
## Description When using the [Clipboard API](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API), one might need to request permission for the [`clipboard-write`](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API) in case we want to add something to the user's system clipboard if the...
CustomElementConstructor is missing observedAttributes
The `CustomElementConstructor` interface defined in `lib.dom.d.ts` seems to be missing the [`observedAttributes` static property](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks) (supported in all modern browser engines). Steps to reproduce ([playground](https://www.typescriptlang.org/play?#code/MYGwhgzhAECyCeBREBTAtigdgF2igHtlgCYwASAKrADLLpa4DeAUNG9BNmNgJbDQB7AEYQUAJwBuKYgEFs2MTyEBXIjAC80ANoByAGYCBOgLrMAvs2Z7lmYLwGZoxFHp6YUACi4BzAHJgMAC4OBTdvABpoOwExYIBhZU4BNDoMHDiHTjFlaLEASmgWdijE7GTUhggAOmdXdy8wPwCUSNy81nZgTIFUKpABbw9cquFRSWk5UJU1dotmWrdPHTR4AFoUVDTsHUiECpw8oA)): ```js class MyElement extends HTMLElement {...
Improve XMLHttpRequest status usage inside onload event
Hi I am trying to use the `status` property inside the `onload` event of the XMLHttpRequest object but it is throwing a type error on it. There are different approaches...
Add support for generics in the URLSearchParams interface
# Suggestion ## 🔍 Search Terms urlsearchparams ## ✅ Viability Checklist My suggestion meets these guidelines: * [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code * [x]...
Convert `performance.measure()` to overloads
Fixes #1239 Technically the third one includes the first one (when both arguments are omitted), but if the first one is removed I feel like it's hard to discover it....