We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be7be59 commit 0f73a0aCopy full SHA for 0f73a0a
src/compiler/utilities.ts
@@ -4008,7 +4008,8 @@ namespace ts {
4008
* Gets the return type node for the node if provided via JSDoc's return tag.
4009
*
4010
* @remarks `getJSDocReturnTag` just gets the whole JSDoc tag. This function
4011
- * gets the type from inside the braces. */
+ * gets the type from inside the braces.
4012
+ */
4013
export function getJSDocReturnType(node: Node): TypeNode | undefined {
4014
const returnTag = getJSDocReturnTag(node);
4015
return returnTag && returnTag.typeExpression && returnTag.typeExpression.type;
0 commit comments