Skip to content

Tomo: Convert to typescript

Valentin Valls requested to merge convert-to-typescript into master

This MR convert most of the components used by the tomo into TypeScripts.

This was not so difficult, and it have helped to fix some inconsistencies.

Playing around the small problems, i think there is no blocking reason to design any more without TypeScript, which is good.

The following flag was used at some places (for third party libraries)

// @ts-ignore

I have created a HardwareMotor for the hardware content from Redux. I think about using this pattern more often. It would be good to think about a location for such definitions.

This could be used as a kind of specification for both Redux provider and widget.

We can think about that into another MR.

Edited by Valentin Valls

Merge request reports