Description
Describe the bug
When building v5-dev branch, i get errors. Should I use this branch? Or another branch?
Current behavior
tsc && vite build
lib/utils/isTheSameCell.ts:11:61 - error TS2345: Argument of type 'HTMLElement | Cell' is not assignable to parameter of type 'Element'.
Type 'Cell' is missing the following properties from type 'Element': attributes, classList, className, clientHeight, and 164 more.
11 const firstIndexes = getCellIndexesFromContainerElement(firstCell);
~~~~~~~~~
lib/utils/isTheSameCell.ts:12:62 - error TS2345: Argument of type 'HTMLElement | Cell' is not assignable to parameter of type 'Element'.
Type 'Cell' is not assignable to type 'Element'.
12 const secondIndexes = getCellIndexesFromContainerElement(secondCell);
~~~~~~~~~
Found 2 errors in the same file, starting at: lib/utils/isTheSameCell.ts:11
ELIFECYCLE Command failed with exit code 2.
Screenshots or gifs
Activity