SmartBotBlack/alienworldsbot

Error npm run build

jimbim88 opened this issue · 0 comments

~/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.