mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-20 22:51:17 -05:00
Show "<unknown>" if the name of a declaration is unavailable
This commit is contained in:
@@ -412,8 +412,7 @@ namespace ts.NavigationBar {
|
||||
case SyntaxKind.JSDocTypedefTag:
|
||||
return getJSDocTypedefTagName(<JSDocTypedefTag>node);
|
||||
default:
|
||||
Debug.fail();
|
||||
return "";
|
||||
return "<unknown>";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user