Chat


How can I help you?

Line: 2:5: Object is possibly 'undefined'.Line: 4:5: Type '{ type: "switch"; state: true; }' is not assignable to type 'Readonly<SimulationModelConfig> | undefined'. Type '{ type: "switch"; state: true; }' is missing the following properties from type 'Readonly<SwitchSimulationModelConfig>': map_input_to_terminal_uid, map_output_to_terminal_uidLine: 7:5: Type '{ type: "switch"; state: false; }' is not assignable to type 'Readonly<SimulationModelConfig> | undefined'. Type '{ type: "switch"; state: false; }' is missing the following properties from type 'Readonly<SwitchSimulationModelConfig>': map_input_to_terminal_uid, map_output_to_terminal_uidLine: 14:13: Type '{ type: "switch"; state: true; }' is not assignable to type 'Readonly<SimulationModelConfig> | undefined'. Type '{ type: "switch"; state: true; }' is missing the following properties from type 'Readonly<SwitchSimulationModelConfig>': map_input_to_terminal_uid, map_output_to_terminal_uidLine: 17:13: Type '{ type: "switch"; state: false; }' is not assignable to type 'Readonly<SimulationModelConfig> | undefined'. Type '{ type: "switch"; state: false; }' is missing the following properties from type 'Readonly<SwitchSimulationModelConfig>': map_input_to_terminal_uid, map_output_to_terminal_uid

Push Button