From 135409a8e8a11db627059f9d115a5e78468ac422 Mon Sep 17 00:00:00 2001 From: Josh Mock Date: Wed, 13 Nov 2024 10:42:33 -0600 Subject: [PATCH] Upgrade ts-standard (#2460) (cherry picked from commit 421f953b0081e9342fed86d2734b48f70ae19581) --- package.json | 2 +- src/helpers.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index cc4064dd4..cf25eadc3 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "stoppable": "1.1.0", "tap": "21.0.1", "ts-node": "10.9.2", - "ts-standard": "11.0.0", + "ts-standard": "12.0.2", "typescript": "5.6.3", "workq": "3.0.0", "xmlbuilder2": "3.1.1", diff --git a/src/helpers.ts b/src/helpers.ts index 10fda499a..5f4357893 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)