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

Importing types from @types/web package

[{"_id":"635ae0993056137e265f5f35","body":"I could imagine this as another potential export from this repo, its use case is pretty niche though IMO because you don't want to be including this in an environment which has `dom` added globally because the versions could easily be mismatched\r\n\r\nI think it's very likely that TS could never move away from vending the interfaces globally because of ecosystem breakage, which means you'd have to be quite delicate in how a project using this would be set up","issue_id":1661112977987,"origin_id":986941966,"user_origin_id":49038,"create_time":1638808302,"update_time":1638808417,"id":1666900121696,"updated_at":"2022-10-27T19:48:41.696000Z","created_at":"2022-10-27T19:48:41.696000Z"},{"_id":"635ae0993056137e265f5f36","body":"Certainly need to think what would happen when some library exposes some type from modular @types\/[email protected] and the global enviroment has @types\/[email protected]. But I think that's what already happening from DefinitelyTyped. \ud83e\udd14","issue_id":1661112977987,"origin_id":989027261,"user_origin_id":3396686,"create_time":1638985023,"update_time":1638985023,"id":1666900121701,"updated_at":"2022-10-27T19:48:41.701000Z","created_at":"2022-10-27T19:48:41.701000Z"},{"_id":"635ae0993056137e265f5f37","body":"I mean, at least *any* mechanisms for pinning a package to a version exist -- it wouldn't be crazy to ship `mylib` with a peerdep of `\"@types\/web\": \"^0.12.34\"` (though, granted, we still don't have *optional* peerdeps). With built-in lib types, the library has absolutely no control over which definition of, say, `globalThis#Blob` it gets. ([Ask me how I know](https:\/\/github.com\/DefinitelyTyped\/DefinitelyTyped\/pull\/57641\/files)...)","issue_id":1661112977987,"origin_id":989038999,"user_origin_id":943160,"create_time":1638985955,"update_time":1639051749,"id":1666900121705,"updated_at":"2022-10-27T19:48:41.704000Z","created_at":"2022-10-27T19:48:41.704000Z"},{"_id":"635ae0993056137e265f5f38","body":"Maybe this isn't as important as I thought, because I'm not sure Node's \"DOM compatible\" APIs actually are 100% compatible. More at https:\/\/github.com\/DefinitelyTyped\/DefinitelyTyped\/pull\/59905...","issue_id":1661112977987,"origin_id":1100132182,"user_origin_id":943160,"create_time":1650031844,"update_time":1650031844,"id":1666900121708,"updated_at":"2022-10-27T19:48:41.708000Z","created_at":"2022-10-27T19:48:41.708000Z"},{"_id":"635ae0993056137e265f5f39","body":"I just updated the issue I linked a few months ago. It looks like as of Node v18, they're putting their \"web compatible\" types (or at least `Blob`) into the global namespace. Does anybody from the TS team have plans\/ideas how to handle this? There are a lot of projects out there with both `@types\/node` and `lib: ['dom']` and I don't think there's going to be any putting that genie back in the bottle, so the types will just have to get along with each other somehow.","issue_id":1661112977987,"origin_id":1178666201,"user_origin_id":943160,"create_time":1657266313,"update_time":1657266313,"id":1666900121711,"updated_at":"2022-10-27T19:48:41.710000Z","created_at":"2022-10-27T19:48:41.710000Z"},{"_id":"635ae0993056137e265f5f3a","body":"Per my update on the linked issue, I'm increasingly worried that Node is going to keep adding \"compatible\" interfaces in the global namespace, which actually wind up having some Node-exclusive properties or methods if you drill down far enough.\r\n\r\nAssuming this is the case, it would be great if someone on the TS team could take an interest in improving Node typings. At the moment, they're on a tightrope, constantly trying to be as accurate as possible without becoming fundamentally incompatible with lib-dom. It's only going to get harder.","issue_id":1661112977987,"origin_id":1202889583,"user_origin_id":943160,"create_time":1659455748,"update_time":1659455748,"id":1666900121713,"updated_at":"2022-10-27T19:48:41.713000Z","created_at":"2022-10-27T19:48:41.713000Z"},{"_id":"635ae0993056137e265f5f3b","body":"This can help us to unblock https:\/\/github.com\/DefinitelyTyped\/DefinitelyTyped\/issues\/60924 without needing to duplicate types or re-invent the wheel...","issue_id":1661112977987,"origin_id":1236992985,"user_origin_id":532414,"create_time":1662383022,"update_time":1662383022,"id":1666900121716,"updated_at":"2022-10-27T19:48:41.716000Z","created_at":"2022-10-27T19:48:41.716000Z"},{"_id":"635ae0993056137e265f5f3c","body":"This has another purpose when working with Deno - there's no decent way to build an isomorphic project with multiple platform globals checked for at runtime. We went with fetching lib.dom.d.ts and scripting it to become importable.\r\nhttps:\/\/github.com\/feathers-studio\/hyperactive\/blob\/93847e9495c4de8c68a320ea2a0b442552b2fc5a\/hyper\/vendor\/dom.slim.ts\r\n\r\nUsage:\r\nhttps:\/\/github.com\/feathers-studio\/hyperactive\/blob\/93847e9495c4de8c68a320ea2a0b442552b2fc5a\/hyper\/render\/dom.ts#L8\r\n\r\n`guessEnv` actually checks at runtime, so it's safe, and dom types are contained within this one file.\r\n\r\nI hope this can add motivation towards modular `@types\/web`!","issue_id":1661112977987,"origin_id":1260189166,"user_origin_id":19621208,"create_time":1664322592,"update_time":1677967479,"id":1666900121720,"updated_at":"2024-06-29T03:05:18.368000Z","created_at":"2022-10-27T19:48:41.720000Z"},{"_id":"667f79ee63673df7300e5976","body":"> This can help us to unblock [DefinitelyTyped\/DefinitelyTyped#60924](https:\/\/github.com\/DefinitelyTyped\/DefinitelyTyped\/issues\/60924) without needing to duplicate types or re-invent the wheel...\r\n\r\nIt wouldn't need to export anything to help with `fetch` in Node, but it would just need to be split into multiple packages like `@types\/web-fetch` that becomes a dependency of `@types\/web` but can also be added as a dependency to `@types\/node` (from v16 onwards) individually.","issue_id":1661112977987,"origin_id":1453892826,"user_origin_id":10532611,"create_time":1677866205,"update_time":1677866205,"id":1719630318377,"updated_at":"2024-06-29T03:05:18.376000Z","created_at":"2024-06-29T03:05:18.376000Z"},{"_id":"667f79ee63673df7300e5977","body":"@felixfbecker This solves a very specific issue for fetch, while you can solve a very generic issue with this proposal.","issue_id":1661112977987,"origin_id":1454901894,"user_origin_id":19621208,"create_time":1677967491,"update_time":1677967491,"id":1719630318384,"updated_at":"2024-06-29T03:05:18.384000Z","created_at":"2024-06-29T03:05:18.384000Z"}] comment

The `@types/web` package typings are published as a `lib` -- they don't declare any module, they don't import or export anything. You can include them using a triple-slash comment, but...

Bump @webref/idl from 3.11.2 to 3.13.2

[{"_id":"635ad71ccecf4e081a21a039","body":"Thanks for the PR!\n\nThis section of the codebase is owned by @saschanaz - if they write a comment saying \"LGTM\" then it will be merged.\n<!-- Message About Merging -->","issue_id":1661112977991,"origin_id":1201593186,"user_origin_id":41898282,"create_time":1659380569,"update_time":1659380569,"id":1666897692410,"updated_at":"2022-10-27T19:08:12.410000Z","created_at":"2022-10-27T19:08:12.410000Z"},{"_id":"635ad71ccecf4e081a21a03a","body":"Superseded by #1389.","issue_id":1661112977991,"origin_id":1234667307,"user_origin_id":49699333,"create_time":1662058893,"update_time":1662058893,"id":1666897692413,"updated_at":"2022-10-27T19:08:12.413000Z","created_at":"2022-10-27T19:08:12.413000Z"}] comment

Bumps [@webref/idl](https://github.com/w3c/webref) from 3.11.2 to 3.13.2. Commits 3b01d12 Publish curated data from 1e81f5c33765fa54573e0b73677b12723512b6a5 19fc82c Publish curated data from c2b05729025bb747f9b972483dc9943df3cce5e6 96b2718 Publish curated data from 16bab25830018a0ea9746ea8a1436391faa2a432 76d84c4 Publish curated data from...

dependencies

Bump @types/node from 17.0.41 to 17.0.45

[{"_id":"635ae1608041c95dfb17270c","body":"Thanks for the PR!\n\nThis section of the codebase is owned by @saschanaz - if they write a comment saying \"LGTM\" then it will be merged.\n<!-- Message About Merging -->","issue_id":1661112977994,"origin_id":1201592012,"user_origin_id":41898282,"create_time":1659380503,"update_time":1659380503,"id":1666900320450,"updated_at":"2022-10-27T19:52:00.450000Z","created_at":"2022-10-27T19:52:00.450000Z"},{"_id":"635ae1608041c95dfb17270d","body":"Looks like @types\/node is no longer updatable, so this is no longer needed.","issue_id":1661112977994,"origin_id":1250146470,"user_origin_id":49699333,"create_time":1663451892,"update_time":1663451892,"id":1666900320453,"updated_at":"2022-10-27T19:52:00.453000Z","created_at":"2022-10-27T19:52:00.453000Z"}] comment

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.41 to 17.0.45. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/node&package-manager=npm_and_yarn&previous-version=17.0.41&new-version=17.0.45)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Bump @typescript-eslint/parser from 5.27.1 to 5.32.0

[{"_id":"635ae3318041c95dfb172871","body":"Thanks for the PR!\n\nThis section of the codebase is owned by @saschanaz - if they write a comment saying \"LGTM\" then it will be merged.\n<!-- Message About Merging -->","issue_id":1661112977996,"origin_id":1201591952,"user_origin_id":41898282,"create_time":1659380500,"update_time":1659380500,"id":1666900785573,"updated_at":"2022-10-27T19:59:45.573000Z","created_at":"2022-10-27T19:59:45.573000Z"},{"_id":"635ae3318041c95dfb172872","body":"Superseded by #1387.","issue_id":1661112977996,"origin_id":1234665941,"user_origin_id":49699333,"create_time":1662058837,"update_time":1662058837,"id":1666900785576,"updated_at":"2022-10-27T19:59:45.576000Z","created_at":"2022-10-27T19:59:45.576000Z"}] comment

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.27.1 to 5.32.0. Release notes Sourced from @​typescript-eslint/parser's releases. v5.32.0 5.32.0 (2022-08-01) Features eslint-plugin: [no-use-before-define] add &quot;allowNamedExports&quot; option (#5397) (ad412cd) v5.31.0 5.31.0 (2022-07-25) Bug Fixes eslint-plugin: [typedef]...

dependencies

Bump eslint-plugin-prettier from 4.0.0 to 4.2.1

[{"_id":"635ad2d73056137e265f54e9","body":"Thanks for the PR!\n\nThis section of the codebase is owned by @saschanaz - if they write a comment saying \"LGTM\" then it will be merged.\n<!-- Message About Merging -->","issue_id":1661112977998,"origin_id":1201591588,"user_origin_id":41898282,"create_time":1659380480,"update_time":1659380480,"id":1666896599783,"updated_at":"2022-10-27T18:49:59.783000Z","created_at":"2022-10-27T18:49:59.783000Z"},{"_id":"635ad2d73056137e265f54ea","body":"@dependabot rebase","issue_id":1661112977998,"origin_id":1256597838,"user_origin_id":3396686,"create_time":1663961414,"update_time":1663961414,"id":1666896599787,"updated_at":"2022-10-27T18:49:59.787000Z","created_at":"2022-10-27T18:49:59.787000Z"},{"_id":"635ad2d73056137e265f54eb","body":"Looks like eslint-plugin-prettier is up-to-date now, so this is no longer needed.","issue_id":1661112977998,"origin_id":1256598048,"user_origin_id":49699333,"create_time":1663961430,"update_time":1663961430,"id":1666896599790,"updated_at":"2022-10-27T18:49:59.789000Z","created_at":"2022-10-27T18:49:59.789000Z"}] comment

Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 4.0.0 to 4.2.1. Release notes Sourced from eslint-plugin-prettier's releases. v4.2.1 4.2.1 Patch Changes #485 5736ed5 Thanks @​JounQin! - chore: reuse prettierRcOptions instead of resolveConfig again v4.2.0 4.2.0...

dependencies

Bump @typescript-eslint/eslint-plugin from 5.30.3 to 5.32.0

[{"_id":"635ad9ebd297b6213235f469","body":"Thanks for the PR!\n\nThis section of the codebase is owned by @saschanaz - if they write a comment saying \"LGTM\" then it will be merged.\n<!-- Message About Merging -->","issue_id":1661112978000,"origin_id":1201591491,"user_origin_id":41898282,"create_time":1659380475,"update_time":1659380475,"id":1666898411981,"updated_at":"2022-10-27T19:20:11.981000Z","created_at":"2022-10-27T19:20:11.981000Z"},{"_id":"635ad9ebd297b6213235f46a","body":"Superseded by #1388.","issue_id":1661112978000,"origin_id":1234666642,"user_origin_id":49699333,"create_time":1662058867,"update_time":1662058867,"id":1666898411985,"updated_at":"2022-10-27T19:20:11.985000Z","created_at":"2022-10-27T19:20:11.985000Z"}] comment

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.30.3 to 5.32.0. Release notes Sourced from @​typescript-eslint/eslint-plugin's releases. v5.32.0 5.32.0 (2022-08-01) Features eslint-plugin: [no-use-before-define] add &quot;allowNamedExports&quot; option (#5397) (ad412cd) v5.31.0 5.31.0 (2022-07-25) Bug Fixes eslint-plugin: [typedef]...

dependencies

`MutationObserverInit.attributeFilter` can accept an iterator, not just an array

[{"_id":"635ad6e9ea01ec786e7ce263","body":"Yeah, unfortunately supporting this would complicate things. We can't just redefine the field in `.iterable.d.ts`. \ud83d\ude1e","issue_id":1661112978004,"origin_id":1250258587,"user_origin_id":3396686,"create_time":1663503636,"update_time":1663503636,"id":1666897641402,"updated_at":"2022-10-27T19:07:21.401000Z","created_at":"2022-10-27T19:07:21.401000Z"},{"_id":"635ad6e9ea01ec786e7ce264","body":"(At this point I wonder we should get a totally separate dom.lib.d.ts for ES2015+ support, rather than augmenting ES5 version of the lib.)","issue_id":1661112978004,"origin_id":1250258970,"user_origin_id":3396686,"create_time":1663503742,"update_time":1663503742,"id":1666897641405,"updated_at":"2022-10-27T19:07:21.404000Z","created_at":"2022-10-27T19:07:21.404000Z"}] comment

Specifically this: https://github.com/microsoft/TypeScript/pull/50031 I'm not clear on how to make that change here.

Property `aspectRatio` does not exist on type CSSStyleDecleration

[{"_id":"635ad2898041c95dfb171a36","body":"It is defined here. \r\nhttps:\/\/github.com\/microsoft\/TypeScript-DOM-lib-generator\/blob\/main\/baselines\/dom.generated.d.ts#L2742\r\n\r\nIt was added more than 1 year ago... Do you use a old version of typescript?","issue_id":1661112978008,"origin_id":1197937861,"user_origin_id":24830662,"create_time":1659002801,"update_time":1659002801,"id":1666896521128,"updated_at":"2022-10-27T18:48:41.128000Z","created_at":"2022-10-27T18:48:41.128000Z"},{"_id":"635ad2898041c95dfb171a37","body":"Thank you @mathe42 . Typescript version I'm using is 4.3","issue_id":1661112978008,"origin_id":1198865768,"user_origin_id":26032330,"create_time":1659068599,"update_time":1659068599,"id":1666896521132,"updated_at":"2022-10-27T18:48:41.132000Z","created_at":"2022-10-27T18:48:41.132000Z"},{"_id":"635ad2898041c95dfb171a38","body":"TS versions older than 4.4 are not supported, you can try upgrade to the latest version, or at least to 4.4 and deploy https:\/\/www.npmjs.com\/package\/@types\/web.\r\n\r\n@github-actions close","issue_id":1661112978008,"origin_id":1250255641,"user_origin_id":3396686,"create_time":1663502655,"update_time":1663502655,"id":1666896521136,"updated_at":"2022-10-27T18:48:41.135000Z","created_at":"2022-10-27T18:48:41.135000Z"},{"_id":"635ad2898041c95dfb171a39","body":"Closing because @saschanaz is one of the code-owners of this repository.","issue_id":1661112978008,"origin_id":1250255704,"user_origin_id":41898282,"create_time":1663502676,"update_time":1663502676,"id":1666896521140,"updated_at":"2022-10-27T18:48:41.140000Z","created_at":"2022-10-27T18:48:41.140000Z"}] comment

Hi Team, Even though `aspect-ratio` css property is hugely supported in all modern browsers. Its giving typescript error saying **Property `aspectRatio` does not exist on type CSSStyleDecleration** ![image](https://user-images.githubusercontent.com/26032330/181477908-49ca7ed7-8dcb-4e3a-aff1-11e307c74bfe.png) 🔎 Search...

[AudioWorklet] Missing properties in AudioParamMap interface

[{"_id":"635ae2a6cecf4e081a21a87e","body":"Looks like it's not in MDN: https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/AudioParamMap","issue_id":1661112978011,"origin_id":1175417465,"user_origin_id":49038,"create_time":1657049141,"update_time":1657049141,"id":1666900646819,"updated_at":"2022-10-27T19:57:26.819000Z","created_at":"2022-10-27T19:57:26.819000Z"},{"_id":"635ae2a6cecf4e081a21a87f","body":"It's already ReadonlyMap: https:\/\/github.com\/microsoft\/TypeScript-DOM-lib-generator\/blob\/17ff4cb6ec47eef6c361047aed35b2534411eb23\/baselines\/dom.iterable.generated.d.ts#L9\r\n\r\nPerhaps your compilation target is es5, or your lib lacks `dom.iterable`?","issue_id":1661112978011,"origin_id":1195989733,"user_origin_id":3396686,"create_time":1658870188,"update_time":1658870188,"id":1666900646825,"updated_at":"2022-10-27T19:57:26.825000Z","created_at":"2022-10-27T19:57:26.825000Z"},{"_id":"635ae2a6cecf4e081a21a880","body":"I think changing `target` should fix your issue.\r\n\r\n@github-actions close","issue_id":1661112978011,"origin_id":1250145789,"user_origin_id":3396686,"create_time":1663451521,"update_time":1663451521,"id":1666900646841,"updated_at":"2022-10-27T19:57:26.841000Z","created_at":"2022-10-27T19:57:26.841000Z"},{"_id":"635ae2a6cecf4e081a21a881","body":"Closing because @saschanaz is one of the code-owners of this repository.","issue_id":1661112978011,"origin_id":1250145815,"user_origin_id":41898282,"create_time":1663451536,"update_time":1663451536,"id":1666900646850,"updated_at":"2022-10-27T19:57:26.849000Z","created_at":"2022-10-27T19:57:26.849000Z"}] comment

According to official documentation: https://webaudio.github.io/web-audio-api/ https://www.w3.org/TR/webaudio/#audioparammap This interface has "entries", "forEach", "get", "has", "keys", "values", @@iterator methods and a "size" getter brought by readonly maplike. but in node_modules/typescript/lib/lib.dom.d.ts (https://www.npmjs.com/package/@types/audioworklet) we...

Update core dependencies

[{"_id":"635ad402d297b6213235f0ea","body":"Thanks for the PR!\n\nThis section of the codebase is owned by @saschanaz - if they write a comment saying \"LGTM\" then it will be merged.\n<!-- Message About Merging -->","issue_id":1661112978016,"origin_id":1195152119,"user_origin_id":41898282,"create_time":1658823057,"update_time":1658823057,"id":1666896898032,"updated_at":"2022-10-27T18:54:58.031000Z","created_at":"2022-10-27T18:54:58.031000Z"},{"_id":"635ad402d297b6213235f0eb","body":"Almost all about Safari 16 release. Will have to cancel the major deps update until #1401 merges.","issue_id":1661112978016,"origin_id":1253664194,"user_origin_id":3396686,"create_time":1663764575,"update_time":1663764575,"id":1666896898036,"updated_at":"2022-10-27T18:54:58.035000Z","created_at":"2022-10-27T18:54:58.035000Z"}] comment

Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action