Remove: callback-based find with arity of 1

This commit is contained in:
Karim Alibhai
2018-05-24 14:18:47 -04:00
parent e7e9982b49
commit f6f8d7f3b5

View File

@@ -1413,17 +1413,6 @@ declare namespace l {
*/
static exists(id: any): Promise<boolean>;
/**
* Find all model instances that match `filter` specification.
* See [Querying models](docs.strongloop.com/display/LB/Querying+models)
* @callback {() => void} callback Callback function called with `(err, returned-instances)` arguments. Required.
* @param {Error} err Error object; see [Error object](docs.strongloop.com/display/LB/Error+object).
* @param {Array} models Model instances matching the filter, or null if none found
*/
static find<T = any>(
callback: CallbackWithResult<T[]>
): void;
/**
* Find all model instances that match `filter` specification.
* See [Querying models](docs.strongloop.com/display/LB/Querying+models)