Type Alias TGetState<T>

TGetState<T>: T extends Marker
    ? TMarkerState
    : T extends Label
        ? TLabelState
        : T extends Space | MapObject
            ? TGeometryState
            : T extends string
                ?
                    | TLabelState
                    | TGeometryState
                    | TMarkerState
                    | undefined
                : never

Type Parameters

  • T