mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 20:14:01 -06:00
Include type operators in aliased type checks
This commit is contained in:
parent
db7c03d868
commit
8604d4e428
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user