Skip to content

findByFields returns a Union of (T | undefined | null)[] #94

@tr3ysmith

Description

@tr3ysmith

Why does the findByFields() and other functions provided by "this" return a union of the (TData, undefined, and null)[]?

Why not just TData[]?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions