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
Optional variance annotations
- #48240
#48240
Merged
Anders Hejlsberg (ahejlsberg)
merged 13 commits into
main
microsoft/TypeScript:main
from
varianceAnnotations
microsoft/TypeScript:varianceAnnotations
Copy head branch name to clipboard
Mar 22, 2022
Conversation
Commits
13
(13)
Checks
Files changed
Merged
Optional variance annotations
#48240
Anders Hejlsberg (ahejlsberg)
merged 13 commits into
main
microsoft/TypeScript:main
from
varianceAnnotations
microsoft/TypeScript:varianceAnnotations
Copy head branch name to clipboard
Commits
Commits on Mar 10, 2022
Simplify getVariancesWorker and associated logic
Anders Hejlsberg (ahejlsberg)
committed
55d0ee4
View commit details
Copy full SHA for 55d0ee4
Browse repository at this point
Accept new API baselines
Anders Hejlsberg (ahejlsberg)
committed
24f2dcf
View commit details
Copy full SHA for 24f2dcf
Browse repository at this point
Add 'in' and 'out' modififers / add modifiers to type parameters
Anders Hejlsberg (ahejlsberg)
committed
5f1c56e
View commit details
Copy full SHA for 5f1c56e
Browse repository at this point
Commits on Mar 11, 2022
Check variance annotations
Anders Hejlsberg (ahejlsberg)
committed
8dfc96f
View commit details
Copy full SHA for 8dfc96f
Browse repository at this point
Update test runner
Anders Hejlsberg (ahejlsberg)
committed
7793ec4
View commit details
Copy full SHA for 7793ec4
Browse repository at this point
Accept new API baselines
Anders Hejlsberg (ahejlsberg)
committed
8e67c07
View commit details
Copy full SHA for 8e67c07
Browse repository at this point
Allow variance annotations only on certain type parameters
Anders Hejlsberg (ahejlsberg)
committed
a77735d
View commit details
Copy full SHA for a77735d
Browse repository at this point
Commits on Mar 12, 2022
Add deprecated implementation of createTypeParameterDeclaration
Anders Hejlsberg (ahejlsberg)
committed
aa6933f
View commit details
Copy full SHA for aa6933f
Browse repository at this point
Accept new API baselines
Anders Hejlsberg (ahejlsberg)
committed
e95f4af
View commit details
Copy full SHA for e95f4af
Browse repository at this point
Report variance markers as 'sub-XXX' and 'super-XXX'
Anders Hejlsberg (ahejlsberg)
committed
05ad13a
View commit details
Copy full SHA for 05ad13a
Browse repository at this point
Add tests
Anders Hejlsberg (ahejlsberg)
committed
3799524
View commit details
Copy full SHA for 3799524
Browse repository at this point
Commits on Mar 18, 2022
Merge branch 'main' into varianceAnnotations
Show description for 33b1148
Anders Hejlsberg (ahejlsberg)
committed
33b1148
View commit details
Copy full SHA for 33b1148
Browse repository at this point
Accept new baselines
Anders Hejlsberg (ahejlsberg)
committed
15e8d0d
View commit details
Copy full SHA for 15e8d0d
Browse repository at this point
You can’t perform that action at this time.