Closed
Description
- Due to
typescript
latest update to v5.7.2 when you try to build the JS SDK project executingtask build
you will receive the following error:
Error: src/channel/NativeChannel.js(123,21): error TS2345: Argument of type 'ArrayBufferLike' is not assignable to parameter of type 'ArrayBuffer'.
Type 'SharedArrayBuffer' is missing the following properties from type 'ArrayBuffer': resizable, resize, detached, transfer, transferToFixedLength
task: Failed to run task "build": exit status 2
Error: Process completed with exit code 201.
- This error also causes the CI to fail.
- Similar issues were opened in the typescript repo Type 'ArrayBufferLike' is not assignable to type 'BlobPart'
Fix
Currently the fix in the CI is to hardcode the typescript version to an older one, but this is not a good approach. We need to focus on fixing the issue in NativeChannel.js with the latest ts version
Metadata
Metadata
Assignees
Labels
No labels