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.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Apr 6, 2022
@ahejlsberg ahejlsberg merged commit 8f6e626 into main Apr 6, 2022
@ahejlsberg ahejlsberg deleted the validateVarianceAnnotations branch April 6, 2022 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants