We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69b7959 commit 389833bCopy full SHA for 389833b
src/compiler/checker.ts
@@ -11363,7 +11363,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
11363
getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(node as ClassLikeDeclaration | InterfaceDeclaration)).thisType;
11364
11365
const selfType =
11366
- node.kind === SyntaxKind.TypeAliasDeclaration ? getSymbolLinks(node.symbol).selfType : undefined;
+ node.kind === SyntaxKind.TypeAliasDeclaration ? getSymbolLinks(getSymbolOfDeclaration(node as TypeAliasDeclaration)).selfType : undefined;
11367
11368
const implicitTypeParameters = [
11369
...(thisType ? [thisType] : []),
0 commit comments