Type Alias TUpdateState<T>

TUpdateState: T extends WALLS
    ? Partial<TWallsState>
    : T extends DOORS
        ? Partial<TDoorsState>
        : T extends Door
            ? Partial<TDoorsState>
            : T extends Marker
                ? Partial<TMarkerState>
                : T extends Label
                    ? Partial<TLabelState>
                    : T extends Space
                    | MapObject
                        ? Partial<TGeometryState>
                        : T extends Shape
                            ? Partial<Omit<TShapeState, "height" | "type">>
                            : T extends Door
                                ? Partial<TGeometryState>
                                : T extends string ? Record<string, any> : never

The type for updating the state of map elements (colors, texts, etc.).

Type Parameters

  • T