diff --git a/package.json b/package.json index 032ddccc0..67713679a 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "stoppable": "^1.1.0", "tap": "^21.0.1", "ts-node": "^10.7.0", - "ts-standard": "^11.0.0", + "ts-standard": "^12.0.2", "typescript": "^4.6.4", "workq": "^3.0.0", "xmlbuilder2": "^3.0.2", diff --git a/src/helpers.ts b/src/helpers.ts index 2f582a71f..1266294de 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -194,7 +194,7 @@ export default class Helpers { * @param {object} options - The client optional configuration for this request. * @return {array} The documents that matched the request. */ - async search (params: T.SearchRequest, options: TransportRequestOptions = {}): Promise> { + async search (params: T.SearchRequest, options: TransportRequestOptions = {}): Promise> { appendFilterPath('hits.hits._id,hits.hits._source', params, true) options.meta = true const { body: result } = await this[kClient].search(params, options as TransportRequestOptionsWithMeta)