Skip to content

Commit 7d5f622

Browse files
authored
Backport ts-standard upgrade (#2462)
1 parent 8377b58 commit 7d5f622

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.7.0",
83-
"ts-standard": "^11.0.0",
83+
"ts-standard": "^12.0.2",
8484
"typescript": "^4.6.4",
8585
"workq": "^3.0.0",
8686
"xmlbuilder2": "^3.0.2",

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)