Type 'string' is not assignable to type 'number'.