diff --git a/types/massive/index.d.ts b/types/massive/index.d.ts index dd9cd76640..772f418df3 100644 --- a/types/massive/index.d.ts +++ b/types/massive/index.d.ts @@ -105,6 +105,9 @@ declare namespace massive { term: string; } + type QueryParamTypes = string | number | object; + type QueryParams = QueryParamTypes[] | QueryParamTypes; + interface EntitySpecification { /** A Database. */ db: Database; @@ -442,7 +445,7 @@ declare namespace massive { /** Execute a query. */ query( query: Select | Insert | Update | Delete | string, - params?: string[], + params?: QueryParams, options?: ResultProcessingOptions ): Promise;