Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sunwoo1524 opened this issue Jan 24, 2024 · 0 comments

Comments

@sunwoo1524
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@sunwoo1524 and others