From 61838737258e9ef4c35bc7635a572deb7012ffcb Mon Sep 17 00:00:00 2001 From: Patrick Godwin Date: Sat, 19 Jan 2019 12:29:27 -0800 Subject: [PATCH] Add 'any' type signature to params on Database.query to allow named SQL parameters --- types/massive/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/massive/index.d.ts b/types/massive/index.d.ts index dd9cd76640..831e683848 100644 --- a/types/massive/index.d.ts +++ b/types/massive/index.d.ts @@ -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;