Skip to content

Fix Iterable generation caused by iterable dts merging - #2399

Merged
github-actions[bot] merged 1 commit into
microsoft:mainfrom
jakebailey:fix-iterator-thing
Feb 3, 2026
Merged

Fix Iterable generation caused by iterable dts merging#2399
github-actions[bot] merged 1 commit into
microsoft:mainfrom
jakebailey:fix-iterator-thing

Conversation

@jakebailey

@jakebailey Jake Bailey (jakebailey) commented Feb 3, 2026

Copy link
Copy Markdown
Member

When I modified the code to merge Iterable in for 6.0, I failed to notice that iterable was closed over and so the funcs I added extra calls to don't do anything.

This isn't an incredible fix but it does work. Probably a restructuring is in order but I want the bug fixed.

Fixes #2386

@github-actions

github-actions Bot commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

Thanks for the PR!

This section of the codebase is owned by Kagami Sascha Rosylight (@saschanaz) - if they write a comment saying "LGTM" then it will be merged.

@saschanaz

Copy link
Copy Markdown
Contributor

Yeah it depends on a surprising side effect, but I guess it's fine for now. LGTM

@github-actions
github-actions Bot merged commit 33eafb2 into microsoft:main Feb 3, 2026
7 checks passed
@github-actions

github-actions Bot commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

Merging because Kagami Sascha Rosylight (@saschanaz) is a code-owner of all the changes - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TS 6.0 type regressed the iterable parameters

2 participants