Item 81: Use allowJs to Mix TypeScript and JavaScript Things to Remember Use the allowJs compiler option to support mixed JavaScript and TypeScript as you transition your project. Get your tests and build chain working with TypeScript before beginning large-scale migration.