mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
JSDocTypeTag.typeExpression is not optional (#30452)
This commit is contained in:
1 parent
9efea31649
commit
5bc8a8dddf
7 files changed
+9
-9
No files matched your search
@@ -134,7 +134,7 @@ namespace ts.JsDoc {
|
||||
case SyntaxKind.JSDocTemplateTag:
|
||||
return withList((tag as JSDocTemplateTag).typeParameters);
|
||||
case SyntaxKind.JSDocTypeTag:
|
||||
return withNode((tag as JSDocTypeTag).typeExpression!);
|
||||
return withNode((tag as JSDocTypeTag).typeExpression);
|
||||
case SyntaxKind.JSDocTypedefTag:
|
||||
case SyntaxKind.JSDocCallbackTag:
|
||||
case SyntaxKind.JSDocPropertyTag:
|
||||
|
||||
Reference in new issue
Block a user