Skip to main content

Type Alias: LayerUnion<Layers, New>

LayerUnion<Layers, New> = Omit<Layers, keyof New> & New

Defined in: src/sdk/components/mapsystem/MapSystemTypes.ts:42

Adds all modules from a new layer record to an existing record. Layers from the new record will overwrite the ones in the existing record if there are key collisions.

Type Parameters

Type Parameter
Layers extends LayerRecord
New extends LayerRecord