Function convertClassPropertiesAndMaintainNumberTypes

  • Converts the number fields of a class instance to their new type, while maintaining the rest of the class structure.

    Lastly, it recalls the constructor of the class with the new JSON object.

    Type Parameters

    Parameters

    Returns CustomType<any>