Skip to content

Query callbacks have incorrect type definitions #1930

@JKAnderson409

Description

@JKAnderson409

The callback functions for queries have type definitions that say that two arguments will be provided, one of type Error and one of type QueryResult. However, one of these arguments will be null which allows typescript code to be written in strict mode that does not account for these nullable arguments.

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