TypeScript-DOM-lib-generator
TypeScript-DOM-lib-generator copied to clipboard
Tool for generating dom related TypeScript and JavaScript library files
TypeScript 4.5 libdom changes
# `@types/web` / `lib.dom.d.ts` ## New interfaces * `ElementInternals` ## Removed interfaces * `PaymentAddress` - [Classed as obsolete](https://caniuse.com/mdn-api_paymentaddress) ## Modified * CSSStyleDeclaration * Added: `accentColor` * Document * Removed: `elementFromPoint`,...
Probably worth to see what the use cases are. * WebAssembly: #826 * Types used by Deno: #1027 * CSS: #211 * Types used by Node.js: https://github.com/microsoft/TypeScript/issues/43972 * JSDOM (not...
This makes `WebAssembly.Global` generic to better match the runtime behaviour: - --- **Q:** Should I change this to use something more like: ```ts declare namespace WebAssembly { class Global {...
feat: Use `declare class` for namespaced types
Unlike , which failed because `class`es declared in the global scope exist only on the global Declarative Environment Record, `class`es exported from **TypeScript**’s `namespace` construct exist as own properties of ...
npm readmes should mention steps to take when `types` is set explicitly in the TS config
When `types` is set explicitly in the TS config, the two simple installation steps described in the npm readmes (e.g. for [@types/web](https://github.com/microsoft/TypeScript-DOM-lib-generator/blob/main/deploy/readmes/web.md#installation)) aren't enough. You also need to add `"web"`...
Split out types and values
This _should_ allow something like Node / React Native to be able to write `/// ` and have access to all of the global types, but none of the values....
Use this: this in event handlers in mixin types and this: Window & typeof globalThis
…in global event handlers. Should fix https://github.com/microsoft/TypeScript/issues/39057
backdropFilter missing from CSSStyleDeclaration
# Bug Report interface CSSStyleDeclaration needs backdropFilter added https://github.com/microsoft/TypeScript/blob/main/lib/lib.dom.d.ts ### 🔎 Search Terms CSSStyleDeclaration backdropFilter ### 🕗 Version & Regression Information 4.4
DOM Load and Save is missing
https://www.w3.org/TR/DOM-Level-3-LS/load-save.html `LSProgressEvent` and [`XMLDocument.load()`](https://developer.mozilla.org/en-US/docs/Web/API/XMLDocument/load) were supported by Firefox. Most of the rest was supported by Opera. - [x] Does the new objects or fields show up in mdn/browser-compat-data? (partially) -...
Add DefinitelyTyped tests to CI
Fixes #389