[Console] added type hinting for array to setAliases method