@@ -7986,8 +7986,8 @@ namespace ts {
7986
7986
return getTypeFromIntersectionTypeNode(<IntersectionTypeNode>node);
7987
7987
case SyntaxKind.JSDocNullableType:
7988
7988
return getTypeFromJSDocNullableTypeNode(<JSDocNullableType>node);
7989
- case SyntaxKind.ParenthesizedType:
7990
7989
case SyntaxKind.JSDocNonNullableType:
7990
+ case SyntaxKind.ParenthesizedType:
7991
7991
case SyntaxKind.JSDocOptionalType:
7992
7992
case SyntaxKind.JSDocTypeExpression:
7993
7993
return getTypeFromTypeNode((<ParenthesizedTypeNode | JSDocTypeReferencingNode | JSDocTypeExpression>node).type);
@@ -22374,7 +22374,8 @@ namespace ts {
22374
22374
return checkUnionOrIntersectionType(<UnionOrIntersectionTypeNode>node);
22375
22375
case SyntaxKind.ParenthesizedType:
22376
22376
case SyntaxKind.TypeOperator:
22377
- return checkSourceElement((<ParenthesizedTypeNode | TypeOperatorNode>node).type);
22377
+ case SyntaxKind.JSDocNonNullableType:
22378
+ return checkSourceElement((<ParenthesizedTypeNode | TypeOperatorNode | JSDocNonNullableType>node).type);
22378
22379
case SyntaxKind.JSDocComment:
22379
22380
return checkJSDocComment(node as JSDoc);
22380
22381
case SyntaxKind.JSDocParameterTag:
@@ -22383,7 +22384,6 @@ namespace ts {
22383
22384
checkSignatureDeclaration(node as JSDocFunctionType);
22384
22385
// falls through
22385
22386
case SyntaxKind.JSDocVariadicType:
22386
- case SyntaxKind.JSDocNonNullableType:
22387
22387
case SyntaxKind.JSDocNullableType:
22388
22388
case SyntaxKind.JSDocAllType:
22389
22389
case SyntaxKind.JSDocUnknownType:
0 commit comments