You should not need ‘any’ in code written in TypeScript from the beginning.
Writing Typescript well requires some fundamentally different patterns than javascript. Adding types afterward is like pulling out your teeth slowly.