Skip to content

[TS] Allow ReadonlyArray everywhere we have Array #261

@dawsbot

Description

@dawsbot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions