-
Notifications
You must be signed in to change notification settings - Fork 78
Description
I am hitting a compile error on https://github.com/cleancoindev/TestGame/blob/main/application/components/ApproxRewards.tsx
it is below:
Failed to compile.
./components/ApproxRewards.tsx:38:9
Type error: Argument of type 'string' is not assignable to parameter of type 'unknown[]'.
36 | const p = (await miningContract.call(
37 | "playerPickaxe",
38 | address
| ^
39 | )) as ContractMappingResponse;
40 |
41 | if (p.isData) {
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Command "yarn run build" exited with 1
Deployment completed
BUILD_UTILS_SPAWN_1: Command "yarn run build" exited with 1
How do i fix this?
I came up with several ideas and am trying them, i will submit a pull request when i get it compiling past the lint ts error.