Skip to content

TypeScript: add support for readonly string[] #69

@nicojs

Description

@nicojs

Both add and ignore accept an array. However, the type definitions specify that it has to be a writable array. For example:

image

I think read-only input is a valid use case, is it not? If so, I'd be happy to implement a small PR for this.

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