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

CustomEvent.detail is defined as follows: ```ts interface CustomEvent extends Event { readonly detail: T; // ... } ``` Source: https://github.com/microsoft/TypeScript-DOM-lib-generator/blob/957eced9e98fc61bf86ab9524deb5eaa1f4d3c24/inputfiles/overridingTypes.jsonc#L538-L540 This is slightly wrong as CustomEvent.detail defaults to `null` when...

Hi, this is my first issue here so i'm trying my best and hope it'll work\ and if it doesn't, let me know and i'll try to improve my feedback...

For now only TextEncoder/Decoder accepts SharedArrayBuffer but the change is coming for other specs e.g. Web Codecs, WebGL, WebGPU (see also the mentioned issues in https://github.com/whatwg/webidl/pull/1311). We should get a...

```ts interface AbstractWorker { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/error_event) */ onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null; } ``` In most cases `event` is of type `ErrorEvent`, but for example...

Actual implementation of `URLSearchParams.constructor` and `URLSearchParams.prototype.set` methods in the browsers will accept any value as value, including number or Integer. TLDR: `new URLSearchParams([['foo', 1]])` and `new URLSearchParams().set('bar', 1)` should compile...

bug

``` Argument of type 'EffectTiming' is not assignable to parameter of type 'OptionalEffectTiming'. Types of property 'duration' are incompatible. ``` `EffectTiming` was recently updated with `duration?: number | CSSNumericValue |...

Please consider updating declarations following my updates. You might want to update existing declaration or add new ones: ### FileSystem related: ```ts type PermissionOptions_ = { readonly mode:"readwrite"; } type...

This is a continuation of #1179. Today, I [encountered a bug](https://github.com/jiphyeonjeon-42/frontend/issues/435) because the component was passed a string (`"300"`) instead of a number (`300`) or a properly formatted string (`"300px"`)....

separating issues in https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/1556 existing VideoEncoderConfig to be modified (adding `undefined`): ```ts interface VideoEncoderConfig { alpha?: AlphaOption | undefined; avc?: AvcEncoderConfig | undefined; bitrate?: number | undefined; bitrateMode?: VideoEncoderBitrateMode |...