Skip to main content

Type Alias: ControllerUnion<Controllers, New>

ControllerUnion<Controllers, New> = Omit<Controllers, keyof New> & New

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

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

Type Parameters​

Type Parameter
Controllers extends ControllerRecord
New extends ControllerRecord