* Migrating some files to typescript * Some other files migrated * Migrating more javascript to typescript * Migrating more javascript to typescript * Fixing types * Fixing linter errors * Fixing some imports * Fixing linter errors * Renaming the snapshots * Addressing PR review comments