镜像站点
· 本页由第三方 GitHub 只读镜像提供,
非 GitHub 官方站点
,不接受任何登录或凭据输入。
前往 github.com
Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
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 }}
microsoft
TypeScript
Repository navigation
Code
Issues
4.9k
(4.9k)
Pull requests
269
(269)
Actions
Projects
Wiki
Security and quality
Insights
More
items
Add 'extends' clause to 'infer' type
- #48112
#48112
Merged
Ron Buckton (rbuckton)
merged 7 commits into
main
microsoft/TypeScript:main
from
inferTypeExtends
microsoft/TypeScript:inferTypeExtends
Copy head branch name to clipboard
Apr 5, 2022
Conversation
Commits
7
(7)
Checks
Files changed
Merged
Add 'extends' clause to 'infer' type
#48112
Ron Buckton (rbuckton)
merged 7 commits into
main
microsoft/TypeScript:main
from
inferTypeExtends
microsoft/TypeScript:inferTypeExtends
Copy head branch name to clipboard
Commits
Commits on Mar 11, 2022
Add 'extends' clause to 'infer' type
Ron Buckton (rbuckton)
committed
8fd5eda
View commit details
Copy full SHA for 8fd5eda
Browse repository at this point
Commits on Mar 12, 2022
Revise parse for infer..extends, improve parenthesizer
Ron Buckton (rbuckton)
committed
1c6f587
View commit details
Copy full SHA for 1c6f587
Browse repository at this point
Commits on Mar 15, 2022
More aggressive parens to match existing DT tests
Ron Buckton (rbuckton)
committed
326389b
View commit details
Copy full SHA for 326389b
Browse repository at this point
Commits on Mar 16, 2022
tests 'infer' constraint using outer type parameter
Ron Buckton (rbuckton)
committed
4a7019e
View commit details
Copy full SHA for 4a7019e
Browse repository at this point
Adds a test showing 'infer' cannot reference other 'infer' in same 'extends'
Ron Buckton (rbuckton)
committed
02fa9c7
View commit details
Copy full SHA for 02fa9c7
Browse repository at this point
Commits on Mar 23, 2022
Merge branch 'main' into inferTypeExtends
Ron Buckton (rbuckton)
committed
0aded71
View commit details
Copy full SHA for 0aded71
Browse repository at this point
Commits on Mar 24, 2022
Emit extends clause for synthetic infer typesduring declaration emit
Ron Buckton (rbuckton)
committed
01b9a2d
View commit details
Copy full SHA for 01b9a2d
Browse repository at this point
You can’t perform that action at this time.