Migrate to TypeScript by typing a seam first

How to tactically migrate from JavaScript to TypeScript