Chat


How can I help you?

Line: 3:9: Object is possibly 'undefined'.Line: 5:9: 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: 11:9: 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: 19:13: Object is possibly 'undefined'.Line: 21: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: 27: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

Logic Input