Skip to content

Commit 8604d4e

Browse files
committed
Include type operators in aliased type checks
1 parent db7c03d commit 8604d4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9630,6 +9630,7 @@ namespace ts {
96309630
case SyntaxKind.IntersectionType:
96319631
case SyntaxKind.IndexedAccessType:
96329632
case SyntaxKind.ConditionalType:
9633+
case SyntaxKind.TypeOperator:
96339634
return isAliasedType(parent);
96349635
case SyntaxKind.TypeAliasDeclaration:
96359636
return true;

0 commit comments

Comments
 (0)