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

Commit 4c0d2cd

Browse files
committed
parent is ContainerNode => type VNode
1 parent 695dbab commit 4c0d2cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export class TreeComponent extends OwlComponent<NodeProps> {
156156
*/
157157
_getSelectionMarkersAncestors(): Set<number> {
158158
const selectionMarkersAncestors = new Set<number>();
159-
let ancestor = this.env.editor.selection.anchor.parent;
159+
let ancestor: VNode = this.env.editor.selection.anchor.parent;
160160
while (ancestor) {
161161
selectionMarkersAncestors.add(ancestor.id);
162162
ancestor = ancestor.parent;

0 commit comments

Comments
 (0)