This commit is contained in:
Arthur Ozga 2015-07-27 13:19:14 -07:00
parent a95f608f1d
commit 7c024aba56

View file

@ -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;
}