cleanup
This commit is contained in:
parent
a95f608f1d
commit
7c024aba56
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ namespace ts {
|
|||
|
||||
public getFirstToken(sourceFile?: SourceFile): Node {
|
||||
let children = this.getChildren(sourceFile);
|
||||
if (!(children.length > 0)) {
|
||||
if (!children.length) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue