fix(aio): fix SearchService to work with TypeScript 2.4 (#19600)
The call to `race` required a type parameter to disambiguate the return type. PR Close #19600
This commit is contained in:
parent
d45e3aa433
commit
cf4b4d53ba
@ -45,7 +45,7 @@ export class SearchService {
|
||||
initWorker(workerUrl: string, initDelay: number) {
|
||||
const searchResults = Observable
|
||||
// Wait for the initDelay or the first search
|
||||
.race(
|
||||
.race<any>(
|
||||
Observable.timer(initDelay),
|
||||
this.searchesSubject.first()
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user