Javascript Type Number Is Not Assignable To Type Readonlyarray

Javascript Type Number Is Not Assignable To Type Readonlyarray