Interface: System

System

TS for extracting the system as a record based on a list of systems

Example

 type Systems = [
   { extension: { name: 'foo' }, defaultOptions: { foo: 1 } },
   { extension: { name: 'bar' }, defaultOptions: { bar: 2 } },
   { extension: { name: 'baz' }, defaultOptions: { baz: 3 } },
 ];

 type SystemTypes = ExtractSystemTypes<Systems>;

 SystemTypes = {
     foo: { extension: { name: 'foo' }, defaultOptions: { foo: 1 } },
     bar: { extension: { name: 'bar' }, defaultOptions: { bar: 2 } },
     baz: { extension: { name: 'baz' }, defaultOptions: { baz: 3 } },
 }