2) Add type annotations to all variable and parameter declarations. Minimize the use of the ‘any’ type. Add interfaces to define function signatures. Use interfaces to describe existing data structures. Don’t refactor any of your code yet, wait until conversion is complete.