Fix: fix some unresolved imports after refactoring

This commit is contained in:
Pieter Vander Vennet 2025-08-01 19:49:44 +02:00
parent 6f69f3ee69
commit 5e3be88eca
8 changed files with 15 additions and 6 deletions

View file

@ -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)
}