LineNode.add: return value never used (#17016)

This commit is contained in:
Andy
2017-07-07 14:00:09 -07:00
committed by GitHub
parent 31ce6cfba6
commit e4a69174db

View File

@@ -851,9 +851,9 @@ namespace ts.server {
}
// assume there is room for the item; return true if more room
add(collection: LineCollection) {
add(collection: LineCollection): void {
this.children.push(collection);
return (this.children.length < lineCollectionCapacity);
Debug.assert(this.children.length <= lineCollectionCapacity);
}
charCount() {