Type number is not assignable to type "string"

The error states that it is a number