File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
x-pack/plugins/data_enhanced/server/search Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 77import { first } from 'rxjs/operators' ;
88import { SearchResponse } from 'elasticsearch' ;
99import { Observable } from 'rxjs' ;
10+ import { TransportRequestPromise } from '@elastic/elasticsearch/lib/Transport' ;
1011import { SharedGlobalConfig , RequestHandlerContext , Logger } from '../../../../../src/core/server' ;
1112import {
1213 getTotalLoaded ,
@@ -72,7 +73,7 @@ export const enhancedEsSearchStrategyProvider = (
7273 request : IEnhancedEsSearchRequest ,
7374 options ?: ISearchOptions
7475 ) : Promise < IEsSearchResponse > {
75- let promise ;
76+ let promise : TransportRequestPromise < any > ;
7677 const esClient = context . core . elasticsearch . client . asCurrentUser ;
7778 const uiSettingsClient = await context . core . uiSettings . client ;
7879
You can’t perform that action at this time.
0 commit comments