fix: parent blocks not bumping neighbours (#6538)

* fix: parent blocks not bumping neighbours

* chore: add more comments
This commit is contained in:
Beka Westberg
2022-10-13 10:59:04 -07:00
committed by GitHub
parent 9b81317d32
commit 7147813693
2 changed files with 34 additions and 33 deletions

View File

@@ -499,7 +499,7 @@ export class RenderedConnection extends Connection {
* @returns List of connections.
* @internal
*/
override neighbours(maxLimit: number): Connection[] {
override neighbours(maxLimit: number): RenderedConnection[] {
return this.dbOpposite_.getNeighbours(this, maxLimit);
}