Skip to content

Commit 421f953

Browse files
authored
Upgrade ts-standard (#2460)
1 parent c5e4107 commit 421f953

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"stoppable": "1.1.0",
8181
"tap": "21.0.1",
8282
"ts-node": "10.9.2",
83-
"ts-standard": "11.0.0",
83+
"ts-standard": "12.0.2",
8484
"typescript": "5.6.3",
8585
"workq": "3.0.0",
8686
"xmlbuilder2": "3.1.1",

src/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export default class Helpers {
194194
* @param {object} options - The client optional configuration for this request.
195195
* @return {array} The documents that matched the request.
196196
*/
197-
async search<TDocument = unknown> (params: T.SearchRequest, options: TransportRequestOptions = {}): Promise<Array<TDocument & {_id: Id}>> {
197+
async search<TDocument = unknown> (params: T.SearchRequest, options: TransportRequestOptions = {}): Promise<Array<TDocument & { _id: Id }>> {
198198
appendFilterPath('hits.hits._id,hits.hits._source', params, true)
199199
options.meta = true
200200
const { body: result } = await this[kClient].search<TDocument>(params, options as TransportRequestOptionsWithMeta)

0 commit comments

Comments
 (0)