diff --git a/types/massive/index.d.ts b/types/massive/index.d.ts index 1bf0550b2c..67be093bb0 100644 --- a/types/massive/index.d.ts +++ b/types/massive/index.d.ts @@ -44,16 +44,16 @@ declare namespace massive { term: string; } - interface Table { - find(criteria: object | {}, queryOptions?: QueryOptions): Promise; - findOne(criteria: number | object, queryOptions?: QueryOptions): Promise; + interface Table { + find(criteria: object | {}, queryOptions?: QueryOptions): Promise; + findOne(criteria: number | object, queryOptions?: QueryOptions): Promise; count(criteria: object): Promise; - where(query: string, params: any[] | object): Promise; + where(query: string, params: any[] | object): Promise; search(criteria: SearchCriteria, queryOptions?: QueryOptions): Promise; - save(data: object): Promise; - insert(data: object): Promise; - update(dataOrCriteria: object, changesMap?: object): Promise; - destroy(criteria: object): Promise; + save(data: object): Promise; + insert(data: object): Promise; + update(dataOrCriteria: object, changesMap?: object): Promise; + destroy(criteria: object): Promise; } interface Document {