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

TypeScript 4.5 libdom changes

[{"_id":"635ad26ccecf4e081a219ccb","body":"> Text\r\n> \r\n> * Removed: `assignedSlot` - This might be something we backtrack during the beta, will be easy to re-add if we want. [d42f963#r57102539](https:\/\/github.com\/microsoft\/TypeScript-DOM-lib-generator\/commit\/d42f963a7fc80796e7922eaa1cd10df939627cca#r57102539)\r\n\r\nNot a breaking change: https:\/\/github.com\/microsoft\/TypeScript-DOM-lib-generator\/commit\/d42f963a7fc80796e7922eaa1cd10df939627cca#commitcomment-57408110","issue_id":1661112978177,"origin_id":932781020,"user_origin_id":3396686,"create_time":1633192735,"update_time":1633192735,"id":1666896492625,"updated_at":"2022-10-27T18:48:12.625000Z","created_at":"2022-10-27T18:48:12.625000Z"}] comment

# `@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

[{"_id":"635ae2b6cecf4e081a21a887","body":"This doesn't address https:\/\/github.com\/microsoft\/TypeScript-DOM-lib-generator\/pull\/858#issuecomment-644294982, does it? That should be the first step in this process.","issue_id":1661112978186,"origin_id":784352195,"user_origin_id":293473,"create_time":1614099710,"update_time":1614099710,"id":1666900662275,"updated_at":"2022-10-27T19:57:42.274000Z","created_at":"2022-10-27T19:57:42.274000Z"}] comment

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 ...

Probably won't take

npm readmes should mention steps to take when `types` is set explicitly in the TS config

[{"_id":"635ad3493056137e265f554c","body":"Yeah, makes sense - with TS 4.5 we'll have a much cleaner setup process too but adding that to the README can probably happen in a different PR.","issue_id":1661112978190,"origin_id":919831074,"user_origin_id":49038,"create_time":1631696204,"update_time":1631696204,"id":1666896713690,"updated_at":"2022-10-27T18:51:53.690000Z","created_at":"2022-10-27T18:51:53.690000Z"}] comment

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"`...

enhancement
You can do this

Split out types and values

[{"_id":"635adc47cecf4e081a21a3aa","body":"Hmm, as I said in Discord, I think this:\r\n\r\n* doesn't solve the collision issue on the static part as we've seen in #1093\r\n* forces including every type when consumers need only a part of the types\r\n\r\nSo my current idea is that we just duplicate the whole types into the module, while keeping the current lib as-is.\r\n\r\n```ts\r\nexport interface AbortSignal {\r\n \/\/ ...\r\n};\r\n\r\nexport var AbortSignal: {\r\n \/\/ ...\r\n};\r\n```\r\n\r\n```ts\r\n\/\/ on Node.js:\r\nimport { AbortSignal } from \"typescript\/dom\";\r\n```","issue_id":1661112978193,"origin_id":918269844,"user_origin_id":3396686,"create_time":1631544466,"update_time":1631545895,"id":1666899015133,"updated_at":"2022-10-27T19:30:15.132000Z","created_at":"2022-10-27T19:30:15.132000Z"}] comment

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....

maintainers

Use this: this in event handlers in mixin types and this: Window & typeof globalThis

[{"_id":"635ae160cecf4e081a21a771","body":"Is there a PR or can I go ahead and open one?","issue_id":1661112978196,"origin_id":913003225,"user_origin_id":3396686,"create_time":1630773909,"update_time":1630773919,"id":1666900320059,"updated_at":"2022-10-27T19:52:00.059000Z","created_at":"2022-10-27T19:52:00.059000Z"},{"_id":"635ae160cecf4e081a21a772","body":"No, I'm pretty sure there's no PR.","issue_id":1661112978196,"origin_id":914683301,"user_origin_id":293473,"create_time":1631056132,"update_time":1631056132,"id":1666900320064,"updated_at":"2022-10-27T19:52:00.063000Z","created_at":"2022-10-27T19:52:00.063000Z"}] comment

…in global event handlers. Should fix https://github.com/microsoft/TypeScript/issues/39057

backdropFilter missing from CSSStyleDeclaration

[{"_id":"635adecd8041c95dfb17253f","body":"Transferring to https:\/\/github.com\/microsoft\/TypeScript-DOM-lib-generator. PR welcome there.","issue_id":1661112978199,"origin_id":905008190,"user_origin_id":3277153,"create_time":1629842749,"update_time":1629842749,"id":1666899661280,"updated_at":"2022-10-27T19:41:01.279000Z","created_at":"2022-10-27T19:41:01.279000Z"},{"_id":"635adecd8041c95dfb172540","body":"It's a good question of whether we should have it, the property is realistically only available in Chrome and with a custom prefix in WebKit. I think I lean against including it as a special case.\r\n\r\nhttps:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/backdrop-filter","issue_id":1661112978199,"origin_id":905741191,"user_origin_id":49038,"create_time":1629913230,"update_time":1629913230,"id":1666899661284,"updated_at":"2022-10-27T19:41:01.283000Z","created_at":"2022-10-27T19:41:01.283000Z"},{"_id":"635adecd8041c95dfb172541","body":"current browser support \r\nGlobal\t89.79%\r\nunprefixed:\t71.77%\r\n\r\nhttps:\/\/caniuse.com\/?search=backdrop-filter\r\n\r\nsupport in Firefox Can be enabled via the \"Experimental Web Platform Features\" flag\r\n","issue_id":1661112978199,"origin_id":905857412,"user_origin_id":8988054,"create_time":1629923957,"update_time":1629923957,"id":1666899661287,"updated_at":"2022-10-27T19:41:01.287000Z","created_at":"2022-10-27T19:41:01.287000Z"},{"_id":"635adecd8041c95dfb172542","body":"Fixed by #1394\r\n\r\n@github-actions close","issue_id":1661112978199,"origin_id":1254384630,"user_origin_id":3396686,"create_time":1663808939,"update_time":1663808939,"id":1666899661291,"updated_at":"2022-10-27T19:41:01.291000Z","created_at":"2022-10-27T19:41:01.291000Z"},{"_id":"635adecd8041c95dfb172543","body":"Closing because @saschanaz is one of the code-owners of this repository.","issue_id":1661112978199,"origin_id":1254384844,"user_origin_id":41898282,"create_time":1663808961,"update_time":1663808961,"id":1666899661295,"updated_at":"2022-10-27T19:41:01.294000Z","created_at":"2022-10-27T19:41:01.294000Z"}] comment

# 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

Waiting on standards
Probably won't take

DOM Load and Save is missing

[{"_id":"635ae1bbd297b6213235fb52","body":">Are the additions available in at least two browsers?\r\n\r\nIt's not \"are\" here, it's \"were\", right? I doubt those APIs deserve to be here then...","issue_id":1661112978204,"origin_id":863627880,"user_origin_id":3396686,"create_time":1623973088,"update_time":1628452520,"id":1666900411575,"updated_at":"2022-10-27T19:53:31.574000Z","created_at":"2022-10-27T19:53:31.574000Z"},{"_id":"635ae1bbd297b6213235fb53","body":"@github-actions close","issue_id":1661112978204,"origin_id":1254386289,"user_origin_id":3396686,"create_time":1663809111,"update_time":1663809111,"id":1666900411578,"updated_at":"2022-10-27T19:53:31.578000Z","created_at":"2022-10-27T19:53:31.578000Z"},{"_id":"635ae1bbd297b6213235fb54","body":"Closing because @saschanaz is one of the code-owners of this repository.","issue_id":1661112978204,"origin_id":1254386498,"user_origin_id":41898282,"create_time":1663809133,"update_time":1663809133,"id":1666900411582,"updated_at":"2022-10-27T19:53:31.581000Z","created_at":"2022-10-27T19:53:31.581000Z"}] comment

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) -...

Probably won't take

Add DefinitelyTyped tests to CI

[{"_id":"635ad29f8041c95dfb171a42","body":"This is close now","issue_id":1661112978207,"origin_id":876637495,"user_origin_id":49038,"create_time":1625767373,"update_time":1625767373,"id":1666896543583,"updated_at":"2022-10-27T18:49:03.582000Z","created_at":"2022-10-27T18:49:03.582000Z"}] comment

Fixes #389