Add 'any' type signature to params on Database.query to allow named SQL parameters

This commit is contained in:
Patrick Godwin
2019-01-19 12:29:27 -08:00
parent d2defa0da5
commit 6183873725
+1 -1
View File
@@ -442,7 +442,7 @@ declare namespace massive {
/** Execute a query. */
query(
query: Select | Insert | Update | Delete | string,
params?: string[],
params?: string[] | any,
options?: ResultProcessingOptions
): Promise<any>;