mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-04-17 01:49:41 -05:00
LineNode.add: return value never used (#17016)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user