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

https://github.com/microsoft/TypeScript/blob/a21024dbe7e79dc018e4193f27ecb66e0465b638/lib/lib.dom.d.ts#L3555 This implies that the options argument only allows `Promise`s of `Blob`s and `string`s, and [the spec](https://www.w3.org/TR/clipboard-apis/#typedefdef-clipboarditemdata) says so too; however, some browsers allow `Blob`s and `string`s to be used...

Hi, As I was going through the definitions, it seems like in Typescript 4.3 or @types/[email protected] `maxFramerate` was not included. At the time, it looks like `maxFramerate` did not have...

This PR adds support for Trusted Types APIs and Sinks in dom and worker libraries. These APIs are so far only supported by Blink. In https://github.com/microsoft/TypeScript/issues/30024 we seem to be...

Waiting on more implementations

# Bug Report [window.scrollTo behavior option](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo#parameters) has three types: "smooth", "instant" and "auto", but typescript doesn't have "instant" value. ### 🕗 Version `v4.4.4` ### ⏯ Playground Link https://www.typescriptlang.org/play?#code/O4SwdgJg9sB0DOBjATlANmgKlAFAbwCMBTACwEMA3EKZALgAIByceAFzLFcYF8BKIA ### 💻...

OK, this PR is a headache and a trip down the rabbit hole for me. It's technically a broken PR as I know one test fails, but I can't fix...

With the latest release of `@types/[email protected]` being installed side-by-side with `@types/[email protected]`, we are receiving the following conflict: ``` ../../node_modules/@types/node/globals.d.ts:72:13 - error TS2403: Subsequent variable declarations must have the same type....

In `GlobalEventHandlersEventMap`, `error` event is mapped to `ErrorEvent`. This might be correct for `Window` when handling events from runtime error, it is incorrect for `Element`s. When `Element`s trigger that event,...

I updated to typescript 4.2.2 today, but strangely, ReadableStreamBYOBReader and ReadableStreamReader disappeared from type definition

Sorry if here is not the place to discuss individual API design. Currently `pipeThrough` is defined as https://github.com/microsoft/TypeScript-DOM-lib-generator/blob/11d922f302743cb3fcee9ab59b03d40074a2965c/baselines/dom.generated.d.ts#L11137 It always returns a `ReadableStream`. However according to spec it will return...

If you look at RTCStats and its subdirectory you'll notice the metrics are very much not up to date. For example [RTCOutboundRtpStreamStats in dom.generated.d.ts](https://github.com/microsoft/TypeScript-DOM-lib-generator/blob/main/baselines/dom.generated.d.ts#L1343) appears to be missing 20-30 or...

help wanted