@squawk
    Preparing search index...

    Interface FlightplanAirportLookup

    Minimal airport lookup interface consumed by the flightplan resolver. Structurally compatible with @squawk/airports!AirportResolver.

    interface FlightplanAirportLookup {
        byFaaId(faaId: string): Airport | undefined;
        byIcao(icao: string): Airport | undefined;
    }
    Index

    Methods

    Methods

    • Looks up an airport by FAA location identifier (e.g. "JFK").

      Parameters

      • faaId: string

      Returns Airport | undefined

    • Looks up an airport by ICAO code (e.g. "KJFK").

      Parameters

      • icao: string

      Returns Airport | undefined