Skip to content

Error npm run build #10

@jimbim88

Description

@jimbim88

~/alienworldsbot# npm ci

alienworldsbot@1.0.0 build
tsc

src/task.ts:221:15 - error TS2684: The 'this' context of type 'ElementHandle' is not assignable to method's 'this' of type 'ElementHandle'.
Type 'Node' is missing the following properties from type 'Element': attributes, classList, className, clientHeight, and 110 more.

221 await loginBtnPlace.click();
~~~~~~~~~~~~~

src/task.ts:236:15 - error TS2684: The 'this' context of type 'ElementHandle' is not assignable to method's 'this' of type 'ElementHandle'.

236 await claimBtn.click();
~~~~~~~~

src/task.ts:365:15 - error TS2684: The 'this' context of type 'ElementHandle' is not assignable to method's 'this' of type 'ElementHandle'.

365 await mineStartBtn.click();
~~~~~~~~~~~~

Found 3 errors.

Metadata

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