Skip to main content

Type Alias: ModuleUnion<Modules, New>

ModuleUnion<Modules, New> = Omit<Modules, keyof New> & New

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

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

Type Parameters​

Type Parameter
Modules extends ModuleRecord
New extends ModuleRecord