I get a compilation error:
Element implicitly has an \'any\' type because expression of type \'number\' can\'t be use