@duffel/components
Version:
Component library to build your travel product with Duffel.
5 lines (4 loc) • 391 B
TypeScript
/// <reference types="@duffel/api" />
import { CreateOrderService, OfferAvailableServiceBaggage } from "@duffel/api/types";
import { WithBaggageServiceInformation } from "src/types";
export declare function hasBaggageServiceOfSameMetadataTypeAlreadyBeenSelected(selectedServices: WithBaggageServiceInformation<CreateOrderService>[], availableService: OfferAvailableServiceBaggage): boolean;