Skip to content

Fix type error

Fix type error #36

Triggered via pull request October 17, 2024 13:57
Status Failure
Total duration 28s
Artifacts

lint_and_test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
lint: node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts#L45
Type 'AllEvents<IDL>[number]' does not satisfy the constraint 'IdlEvent'.
lint: node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts#L52
Type 'AllEvents<IDL>[number]' does not satisfy the constraint 'IdlEvent'.
lint: src/index.ts#L76
Expected 1 arguments, but got 2.
lint: src/index.ts#L78
Expected 1 arguments, but got 2.
lint
Process completed with exit code 2.
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/