Skip to content

Commit 389833b

Browse files
committed
fix code to accomodate microsoft#51682
1 parent 69b7959 commit 389833b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11363,7 +11363,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
1136311363
getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(node as ClassLikeDeclaration | InterfaceDeclaration)).thisType;
1136411364

1136511365
const selfType =
11366-
node.kind === SyntaxKind.TypeAliasDeclaration ? getSymbolLinks(node.symbol).selfType : undefined;
11366+
node.kind === SyntaxKind.TypeAliasDeclaration ? getSymbolLinks(getSymbolOfDeclaration(node as TypeAliasDeclaration)).selfType : undefined;
1136711367

1136811368
const implicitTypeParameters = [
1136911369
...(thisType ? [thisType] : []),

0 commit comments

Comments
 (0)