Skip to content

An index signature parameter type must be either 'string' or 'number'. #1

@sunwoo1524

Description

@sunwoo1524

Node version: v18.18.2
Yarn version: 1.22.21

When I run yarn build, some errors occured:

node_modules/@types/babel__traverse/index.d.ts:314:10 - error TS1023: An index signature parameter type must be either 'string' or 'number'.

314         [k: `${string}|${string}`]: VisitNode<S, Node>;
             ~

node_modules/@types/koa-compose/node_modules/@types/koa/index.d.ts:549:10 - error TS1023: An index signature parameter type must be either 'string' or 'number'.

549         [key: PropertyKey]: any;
             ~~~


Found 2 errors.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions