```ts decodeParameters((abi as AbiFunctionFragment).outputs, output) ``` reports the following type error: ``` Argument of type 'readonly AbiParameter[]' is not assignable to parameter of type 'AbiInput[]'. ``` I have to write this but this is unnecessary ```ts decodeParameters([...(abi as AbiFunctionFragment).outputs], output) ```
reports the following type error:
I have to write this but this is unnecessary