Skip to content

Commit f6e9dad

Browse files
committed
Check fullName has value for typedefTag
1 parent 896e576 commit f6e9dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/binder.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1317,7 +1317,7 @@ namespace ts {
13171317
// if the node has a fullName "A.B.C", that means symbol "C" was already bound
13181318
// when we visit "fullName"; so when we visit the name "C" as the next child of
13191319
// the jsDocTypedefTag, we should skip binding it.
1320-
if (n === node.name && node.fullName.kind !== SyntaxKind.Identifier) {
1320+
if (node.fullName && n === node.name && node.fullName.kind !== SyntaxKind.Identifier) {
13211321
return;
13221322
}
13231323
bind(n);

0 commit comments

Comments
 (0)