Skip to content

Commit 397422d

Browse files
Remove unnecessary ts-expect-error
Co-authored-by: Seth Michael Larson <seth.larson@elastic.co>
1 parent 4a08881 commit 397422d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/helpers.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ export default class Helpers {
229229
rest_total_hits_as_int: params.rest_total_hits_as_int,
230230
scroll_id
231231
}, options as TransportRequestOptionsWithMeta)
232-
// @ts-expect-error
233232
response = r as TransportResult<T.ScrollResponse<TDocument, TAggregations>, unknown>
234233
assert(response !== undefined, 'The response is undefined, please file a bug report')
235234
if (response.statusCode !== 429) break

0 commit comments

Comments
 (0)