mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-11 10:46:28 -05:00
Include type operators in aliased type checks
This commit is contained in:
@@ -9630,6 +9630,7 @@ namespace ts {
|
||||
case SyntaxKind.IntersectionType:
|
||||
case SyntaxKind.IndexedAccessType:
|
||||
case SyntaxKind.ConditionalType:
|
||||
case SyntaxKind.TypeOperator:
|
||||
return isAliasedType(parent);
|
||||
case SyntaxKind.TypeAliasDeclaration:
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user