Type Alias TGetState<T>

TGetState<T>: T extends WALLS
    ? TWallsState | undefined
    : T extends DOORS
        ? TDoorsState | undefined
        : T extends Marker
            ? TMarkerState | undefined
            : T extends Shape
                ? TShapeState | undefined
                : T extends Model
                    ? TModelState | undefined
                    : T extends Label
                        ? TLabelState | undefined
                        : T extends Image
                            ? TImageState | undefined
                            : T extends Space | MapObject
                                ? TGeometryState | undefined
                                : T extends string
                                    ?
                                        | TLabelState
                                        | TGeometryState
                                        | TMarkerState
                                        | TModelState
                                        | undefined
                                    : never

Type Parameters

  • T