forked from MapComplete/MapComplete
Fix: fix some unresolved imports after refactoring
This commit is contained in:
parent
6f69f3ee69
commit
5e3be88eca
8 changed files with 15 additions and 6 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import GeocodingProvider, { GeocodeResult, GeocodingOptions } from "./GeocodingProvider"
|
||||
import { Utils } from "../../Utils"
|
||||
import { Store, Stores } from "../UIEventSource"
|
||||
import { Lists } from "../../Utils/Lists"
|
||||
|
||||
export default class CombinedSearcher implements GeocodingProvider {
|
||||
public readonly name = "CombinedSearcher"
|
||||
|
|
@ -13,7 +14,7 @@ export default class CombinedSearcher implements GeocodingProvider {
|
|||
* @param providers
|
||||
*/
|
||||
constructor(...providers: ReadonlyArray<GeocodingProvider>) {
|
||||
this._providers = Utils.noNull(providers)
|
||||
this._providers = Lists.noNull(providers)
|
||||
this._providersWithSuggest = this._providers.filter((pr) => pr.suggest !== undefined)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue