s
Typescript and PropTypes serve different purposes. Typescript validates types at compile time, whereas PropTypes are checked at runtime.
Typescript is useful when you are writing code: it will warn you if you pass an argument of the wrong type to your React components, give you autocomplete for function calls, etc.
Однако в целом я не то, чтобы сильно хотел этого. Просто решил написать образцовый код, добавил линтер и он начал ругаться. Вот и решил следовать его указаниям