mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 07:29:16 -05:00
JSDocTypeTag.typeExpression is not optional (#30452)
This commit is contained in:
committed by
Ryan Cavanaugh
parent
9efea31649
commit
5bc8a8dddf
@@ -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