Obtaining
Element implicitly has an 'any' type because the index expression is not of type 'number'.
interface User {
name: string;
username: string;
profileImage: string;
}
let user:User = {
name: 'Alice',
profileImage: './2.jpg',
username: 'alice',
}
for(let data of Object.keys(user)){
console.log(data[data])
}