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.
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.