Skip to content

lint compile fail on deployment. #4

@cleancoindev

Description

@cleancoindev

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.

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