DEV Community

Discussion on: Testing a simple component with React Testing Library

haaxor1689 profile image
Maroš Beťko • Edited on

Typescript should be a tool that helps you and not something that hinders you by wasting your time. Even languages like C++ now provide conveniences like auto type. By omitting some explicit types to let them be implicitly deduced or simplifying them you don't give up any type safety but save your time and make development faster.