Getting
Element implicitly has an \'any\' type because index expression is not of type \'number\'.
interface User{ name: