Skip to content

Commit 0c5429d

Browse files
committed
Add missed jsDoc rename in services' Node implementation
Why would you implement an interface using a *class*?
1 parent 91e6bce commit 0c5429d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/services/services.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ namespace ts {
4545
public end: number;
4646
public flags: NodeFlags;
4747
public parent: Node;
48-
public jsDocComments: JSDoc[];
48+
public jsDoc: JSDoc[];
4949
public original: Node;
5050
public transformFlags: TransformFlags;
5151
private _children: Node[];
@@ -154,8 +154,8 @@ namespace ts {
154154
pos = nodes.end;
155155
};
156156
// jsDocComments need to be the first children
157-
if (this.jsDocComments) {
158-
for (const jsDocComment of this.jsDocComments) {
157+
if (this.jsDoc) {
158+
for (const jsDocComment of this.jsDoc) {
159159
processNode(jsDocComment);
160160
}
161161
}

0 commit comments

Comments
 (0)