JS1112: Type name expected
A required type name is misspelled or omitted. Type names are required following a colon in the definition of a variable, constant, function, or parameter.
To correct this error
- Make sure that a valid data type identifier is used where a type name is expected.