antonmedv/finder

Argument of type 'Node' is not assignable to parameter of type 'Element'.

Closed this issue · 1 comments

In my case I'm getting a Node as my event target but finder expects a Element which makes TypeScript complain about it.

Check if it is an Element . Cast with as