mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
LineNode.add: return value never used (#17016)
This commit is contained in:
1 parent
31ce6cfba6
commit
e4a69174db
1 file changed
+2
-2
@@ -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