Skip to content

Fix CI #29

@kentcdodds

Description

@kentcdodds

In a recent CI run we got the following error output:

3s
Run npx -p typescript tsc --declaration --emitDeclarationOnly --allowJs --checkJs --skipLibCheck --downlevelIteration --module nodenext --moduleResolution nodenext --target es2022 --outDir . index.js
npm warn exec The following package was not found and will be installed: typescript@5.9.3
Error: index.js(57,58): error TS2345: Argument of type 'Uint8Array<ArrayBufferLike>' is not assignable to parameter of type 'BufferSource'.
  Type 'Uint8Array<ArrayBufferLike>' is not assignable to type 'ArrayBufferView<ArrayBuffer>'.
    Types of property 'buffer' are incompatible.
      Type 'ArrayBufferLike' is not assignable to type 'ArrayBuffer'.
        Type 'SharedArrayBuffer' is not assignable to type 'ArrayBuffer'.
          Types of property '[Symbol.toStringTag]' are incompatible.
            Type '"SharedArrayBuffer"' is not assignable to type '"ArrayBuffer"'.
Error: index.js(259,25): error TS2345: Argument of type 'Uint8Array<ArrayBuffer>' is not assignable to parameter of type 'ArrayBuffer'.
  Types of property '[Symbol.toStringTag]' are incompatible.
    Type '"Uint8Array"' is not assignable to type '"ArrayBuffer"'.
Error: Process completed with exit code 2.

Please investigate this issue and fix it.

Metadata

Metadata

Assignees

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