Skip to content

v5-dev branch build issue #480

Open
Open
@uma-uc

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
Screenshot 2025-01-12 at 9 45 37 PM

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions