Skip to content

Conversation

@ahejlsberg
Copy link
Member

With this PR we restrict type alias variance annotations to only be permitted on type aliases for object, function, constructor, and mapped types. Fixes issue discussed here.

@ahejlsbergahejlsberg merged commit 8f6e626 into mainApr 6, 2022
@ahejlsbergahejlsberg deleted the validateVarianceAnnotations branch April 6, 2022 21:04
@microsoftmicrosoft locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: TeamFor Uncommitted BugPR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@ahejlsberg@DanielRosenwasser@typescript-bot