Problem: The TS file src/internal/s3.ts has a type error with the latest @types/k6 package.
Version
k6-jslib-awsv0.12.3
@types/k6~0.52.0
Error message:
src/internal/s3.ts:200:13 - error TS2345: Argument of type 'string | ArrayBuffer' is not assignable to parameter of type 'string | bytes'.
Type 'ArrayBuffer' is not assignable to type 'string | bytes'.
Type 'ArrayBuffer' is missing the following properties from type 'number[]': length, pop, push, concat, and 28 more.
200 res.body
~~~~~~~~
Found 1 error in src/internal/s3.ts:200
Problem: The TS file
src/internal/s3.ts
has a type error with the latest@types/k6
package.Version
v0.12.3
~0.52.0
Error message:
How to reproduce?