JS1142: The get and set methods of this property do not match each other
The code defines get and set accessors for a property. However, the return data type of the get accessor is not the same as the parameter type of the set accessor.
To correct this error
- Make sure that the return type of the get accessor matches the argument type of the set accessor.