Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 4929b5e

Browse files
committed
parent is ContainerNode => type VNode
1 parent eb0dc0f commit 4929b5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plugin-devtools/src/components/TreeComponent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export class TreeComponent extends OwlComponent<NodeProps> {
159159
*/
160160
_getSelectionMarkersAncestors(): Set<number> {
161161
const selectionMarkersAncestors = new Set<number>();
162-
let ancestor = this.env.editor.selection.anchor.parent;
162+
let ancestor: VNode = this.env.editor.selection.anchor.parent;
163163
while (ancestor) {
164164
selectionMarkersAncestors.add(ancestor.id);
165165
ancestor = ancestor.parent;

0 commit comments

Comments
 (0)