JSDocTypeTag.typeExpression is not optional (#30452)

This commit is contained in:
Klaus Meinhardt
2019-04-30 18:46:32 +02:00
committed by Ryan Cavanaugh
parent 9efea31649
commit 5bc8a8dddf
7 changed files with 9 additions and 9 deletions

View File

@@ -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: