TypeScript-DOM-lib-generator
TypeScript-DOM-lib-generator copied to clipboard
Tool for generating dom related TypeScript and JavaScript library files
I skipped it in #1514 because `in` is a keyword and thus requires a change to the emitter. Since it's in `namespace CSS` it should be possible to make all...
https://github.com/microsoft/TypeScript-DOM-lib-generator/blob/378951e334e9606013c82717c782050451dfa370/baselines/serviceworker.generated.d.ts#L5755-L5756 It should be ServiceWorkerGlobalScope.
Type narrowing for FileSystemHandles would make working with file system handles much easier ```ts const fileHandle: FileSystemHandle = getFileHandle(); if (fileHandle.kind === "file") { // infer that fileHandle is a...
I'd like to override the `webworker` lib in my project's TypeScript installation. With other libraries, e.g. `dom`, this is possible because the `dom.generated.d.ts` file is being published to npm as...
@uwolfer informed me at https://github.com/github/webauthn-json/issues/73#issuecomment-1385957680 that TypeScript 4.9.4 includes: ```ts interface PublicKeyCredential extends Credential { readonly authenticatorAttachment: string | null; // ... } ``` However, Firefox does not support this...
The [addition](https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/1444) of the [`static Response.json(data, init)`](https://fetch.spec.whatwg.org/#dom-response-json) method was [refused](https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1462#discussion_r1060729285) because it isn't implemented by two major vendors. It's implemented in Blink, but not in Gecko and WebKit. It's already...
Even though it is not an official W3C listed spec, [GPC](https://globalprivacycontrol.org/) is a standard already supported natively by [Brave](https://brave.com/web-standards-at-brave/4-global-privacy-control/) and [Firefox](https://blog.mozilla.org/netpolicy/2021/10/28/implementing-global-privacy-control/). Opening this issue/discussion to understand if adding support for...
https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletProcessor/AudioWorkletProcessor ```ts interface AudioWorkletNodeOptions { /** @default 1 */ numberOfInputs?: number /** @default 1 */ numberOfOutputs?: number outputChannelCount?: number[] parameterData?: any processorOptions?: any } ``` > ### Parameters > >...
Currently `Event.{target,currentTarget}` is nullable because it's initially null when constructed, but those should be defined when dispatched.
According to MDN docs an HTMLMediaElement should have a srcObject that can use a function `getTracks()` which can be used to stop a media stream like the link below. With...