I very much agree to convert es6 to Typescript, which is very helpful for improving the robustness of the code, and brings more code hints to avoid unnecessary spelling mistakes, while improving teamwork, I use tsc to compile Code, I am very happy to work for you.
In addition, we need to define the interface of Props, State, which can help to better use components.