Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
microsoft
/
TypeScript
Public
Notifications
You must be signed in to change notification settings
Fork
13.7k
Star
110k
Code
Issues
5k+
Pull requests
24
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Add TReturn/TNext to Iterable et al
- #58243
#58243
Merged
Ron Buckton (rbuckton)
merged 29 commits into
main
microsoft/TypeScript:main
from
iterator-default-return
microsoft/TypeScript:iterator-default-return
Copy head branch name to clipboard
Jul 19, 2024
Conversation
Commits
29
(29)
Checks
Files changed
Merged
Add TReturn/TNext to Iterable et al
#58243
Ron Buckton (rbuckton)
merged 29 commits into
main
microsoft/TypeScript:main
from
iterator-default-return
microsoft/TypeScript:iterator-default-return
Copy head branch name to clipboard
Commits
Commits on Apr 18, 2024
Add TReturn/TNext to Iterable et al
Ron Buckton (rbuckton)
committed
ef2e1d9
View commit details
Copy full SHA for ef2e1d9
Browse repository at this point
Fix assignability checks, update baselines
Ron Buckton (rbuckton)
committed
1a64ac9
View commit details
Copy full SHA for 1a64ac9
Browse repository at this point
Fix lint
Ron Buckton (rbuckton)
committed
7aa2281
View commit details
Copy full SHA for 7aa2281
Browse repository at this point
Revert incorrect lint fix
Ron Buckton (rbuckton)
committed
be600a8
View commit details
Copy full SHA for be600a8
Browse repository at this point
Merge branch 'main' into iterator-default-return
Ron Buckton (rbuckton)
committed
afbfa69
View commit details
Copy full SHA for afbfa69
Browse repository at this point
Fix failing tests
Ron Buckton (rbuckton)
committed
8182bfc
View commit details
Copy full SHA for 8182bfc
Browse repository at this point
Commits on Apr 19, 2024
Elide type arguments that match defaults for inferred Iterable et al
Ron Buckton (rbuckton)
committed
ad451d1
View commit details
Copy full SHA for ad451d1
Browse repository at this point
Set TReturn default to 'any', provide explicit type arguments where necessary
Ron Buckton (rbuckton)
committed
ec82647
View commit details
Copy full SHA for ec82647
Browse repository at this point
Fix broken fourslash test
Ron Buckton (rbuckton)
committed
5cb0e10
View commit details
Copy full SHA for 5cb0e10
Browse repository at this point
Commits on May 6, 2024
Use intrinsic type for builtin iterator return, PR feedback
Ron Buckton (rbuckton)
committed
52ed319
View commit details
Copy full SHA for 52ed319
Browse repository at this point
Commits on May 7, 2024
Use BuiltinIteratorReturn in es2020.bigint and es2022.intl
Ron Buckton (rbuckton)
committed
bb513be
View commit details
Copy full SHA for bb513be
Browse repository at this point
Use BuiltinIteratorReturn in es2020.string and es2020.symbol.wellknown
Ron Buckton (rbuckton)
committed
2d58aa5
View commit details
Copy full SHA for 2d58aa5
Browse repository at this point
Update baselines
Ron Buckton (rbuckton)
committed
0bfb236
View commit details
Copy full SHA for 0bfb236
Browse repository at this point
Commits on May 17, 2024
Use new --strictBuiltinIteratorReturn flag
Ron Buckton (rbuckton)
committed
e98303f
View commit details
Copy full SHA for e98303f
Browse repository at this point
Merge branch 'main' into iterator-default-return
Ron Buckton (rbuckton)
committed
3a59acb
View commit details
Copy full SHA for 3a59acb
Browse repository at this point
Update baselines
Ron Buckton (rbuckton)
committed
8578a4d
View commit details
Copy full SHA for 8578a4d
Browse repository at this point
Change default for 'TNext' to 'any'
Ron Buckton (rbuckton)
committed
51151ee
View commit details
Copy full SHA for 51151ee
Browse repository at this point
Commits on May 20, 2024
Change inferred return type of generators to 'undefined'
Ron Buckton (rbuckton)
committed
595707d
View commit details
Copy full SHA for 595707d
Browse repository at this point
Commits on May 21, 2024
Revert and use 'void' for BuiltinIteratorReturn
Ron Buckton (rbuckton)
committed
2a4edbc
View commit details
Copy full SHA for 2a4edbc
Browse repository at this point
Commits on May 23, 2024
Merge branch 'main' into iterator-default-return
Ron Buckton (rbuckton)
committed
7d32efc
View commit details
Copy full SHA for 7d32efc
Browse repository at this point
Commits on Jun 25, 2024
Merge branch 'main' into iterator-default-return
Ron Buckton (rbuckton)
committed
db12e2f
View commit details
Copy full SHA for db12e2f
Browse repository at this point
Split the difference, only use 'undefined' for built-ins
Ron Buckton (rbuckton)
committed
fe2ff63
View commit details
Copy full SHA for fe2ff63
Browse repository at this point
Commits on Jun 26, 2024
Add test and address self-build issue
Ron Buckton (rbuckton)
committed
63bc5fb
View commit details
Copy full SHA for 63bc5fb
Browse repository at this point
Commits on Jul 17, 2024
Merge branch 'main' into iterator-default-return
Ron Buckton (rbuckton)
committed
eece783
View commit details
Copy full SHA for eece783
Browse repository at this point
Merge branch 'main' into iterator-default-return
Ron Buckton (rbuckton)
committed
a0d5046
View commit details
Copy full SHA for a0d5046
Browse repository at this point
Merge branch 'main' into iterator-default-return
Ron Buckton (rbuckton)
committed
2a6af13
View commit details
Copy full SHA for 2a6af13
Browse repository at this point
Commits on Jul 18, 2024
Add isolatedDeclarations test
Ron Buckton (rbuckton)
committed
46eba67
View commit details
Copy full SHA for 46eba67
Browse repository at this point
Fix typo in comment
Ron Buckton (rbuckton)
committed
b8f04f6
View commit details
Copy full SHA for b8f04f6
Browse repository at this point
Commits on Jul 19, 2024
Move initialization of 'typeParameterCount'
Ron Buckton (rbuckton)
committed
1a3669a
View commit details
Copy full SHA for 1a3669a
Browse repository at this point
You can’t perform that action at this time.