Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7caee79

Browse filesBrowse files
committed
Rename getJSDocComments -> getCommentsFromJSDoc
1 parent ab84cd0 commit 7caee79
Copy full SHA for 7caee79

2 files changed

+2-2Lines changed: 2 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/compiler/utilities.ts‎

Copy file name to clipboardExpand all lines: src/compiler/utilities.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,7 @@ namespace ts {
14161416
(<JSDocFunctionType>node).parameters[0].type.kind === SyntaxKind.JSDocConstructorType;
14171417
}
14181418

1419-
export function getJSDocComments(node: Node): string[] {
1419+
export function getCommentsFromJSDoc(node: Node): string[] {
14201420
return map(getJSDocs(node), doc => doc.comment);
14211421
}
14221422

Collapse file

‎src/services/jsDoc.ts‎

Copy file name to clipboardExpand all lines: src/services/jsDoc.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ namespace ts.JsDoc {
5252
// from Array<T> - Array<string> and Array<number>
5353
const documentationComment = <SymbolDisplayPart[]>[];
5454
forEachUnique(declarations, declaration => {
55-
const comments = getJSDocComments(declaration);
55+
const comments = getCommentsFromJSDoc(declaration);
5656
if (!comments) {
5757
return;
5858
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.