diff --git a/.changeset/hot-parrots-drive.md b/.changeset/hot-parrots-drive.md new file mode 100644 index 00000000000..cd30c374451 --- /dev/null +++ b/.changeset/hot-parrots-drive.md @@ -0,0 +1,5 @@ +--- +"@fuel-ts/abi-coder": patch +--- + +Remove redundant return statement from vec decode function diff --git a/packages/abi-coder/src/coders/vec.ts b/packages/abi-coder/src/coders/vec.ts index 569ff5bb324..daba5c2bee8 100644 --- a/packages/abi-coder/src/coders/vec.ts +++ b/packages/abi-coder/src/coders/vec.ts @@ -54,6 +54,5 @@ export default class VecCoder extends Coder< decode(data: Uint8Array, offset: number): [DecodedValueOf, number] { this.throwError('unexpected Vec decode', 'not implemented'); - return [undefined as unknown as DecodedValueOf, offset]; } }