Skip to content

Typescript diff for queryAllByTestId says it can return null #486

Closed
@ericbiewener

Description

@ericbiewener

Describe the bug

According to the docs, all the queryAll methods are guaranteed to return an array. However, the TS definition for queryAllByTestId indicates that it can return null.

Expected behavior

TS definition says it returns an array.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions