Add missed jsDoc rename in services' Node implementation

Why would you implement an interface using a *class*?
This commit is contained in:
Nathan Shively-Sanders 2016-11-18 15:48:31 -08:00
parent 91e6bce34c
commit 0c5429d3b7

View File

@ -45,7 +45,7 @@ namespace ts {
public end: number;
public flags: NodeFlags;
public parent: Node;
public jsDocComments: JSDoc[];
public jsDoc: JSDoc[];
public original: Node;
public transformFlags: TransformFlags;
private _children: Node[];
@ -154,8 +154,8 @@ namespace ts {
pos = nodes.end;
};
// jsDocComments need to be the first children
if (this.jsDocComments) {
for (const jsDocComment of this.jsDocComments) {
if (this.jsDoc) {
for (const jsDocComment of this.jsDoc) {
processNode(jsDocComment);
}
}