Closed
Bug 2087449
Opened 28 days ago
Closed 14 days ago
Add a TypeScript declaration for Iterator.concat
Categories
(Developer Infrastructure :: Linting and Formatting: JavaScript, task)
Developer Infrastructure
Linting and Formatting: JavaScript
Tracking
(firefox162 fixed)
RESOLVED
FIXED
162 Branch
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: leo, Assigned: leo)
References
Details
Attachments
(1 external file)
Firefox supports Iterator.concat, but the TypeScript version we use (6.0.3) doesn't declare it, so type-checked code that calls it fails ./mach ts check. TypeScript 7.1 adds the declaration in lib.es2026.iterator.d.ts, but upgrading to TypeScript 7 is blocked on bug 2053700.
This will let getToolForPref in devtools/client/settings/inventory.mjs (added in bug 2081863) drop the @ts-expect-error and IteratorObject<any> cast it currently needs.
| Assignee | ||
Comment 1•28 days ago
|
||
Updated•24 days ago
|
Component: Lint and Formatting → Linting and Formatting: JavaScript
Pushed by lmcardle@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/2ff385052449
https://hg.mozilla.org/integration/autoland/rev/f8abab0f4eef
Add a TypeScript declaration for Iterator.concat r=Standard8
Comment 3•14 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 14 days ago
status-firefox162:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•