@zodiacs/engine 1.0.0
    Preparing search index...

    Interface GeoNamesClientOptions

    interface GeoNamesClientOptions {
        baseUrl: string;
        fetch?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
    }
    Index
    baseUrl: string

    URL of a compatible directory containing index.json and shard JSON.

    fetch?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>

    Type Declaration

      • (input: RequestInfo | URL, init?: RequestInit): Promise<Response>
      • Parameters

        • input: RequestInfo | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>