essential-eth icon indicating copy to clipboard operation
essential-eth copied to clipboard

[TS] Allow `ReadonlyArray` everywhere we have `Array`

Open dawsbot opened this issue 2 years ago • 0 comments

Currently there is an error if you want to pass in a ReadonlyArray to a constructor like "new FallthroughProvider(bscRpcs)". In these situations we should also allow readonly arrays. This does not change any JS, only TS

dawsbot avatar Aug 17 '23 17:08 dawsbot