@odata2ts/converter-v2-to-v4
Version:
A set of odata2ts compatible converters to convert certain OData V2 types to their V4 analog
16 lines • 520 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.bigNumberNoopConverter = void 0;
const odata_core_1 = require("@odata2ts/odata-core");
exports.bigNumberNoopConverter = {
id: "bigNumberNoopConverter",
from: [odata_core_1.ODataTypesV2.Int64, odata_core_1.ODataTypesV2.Decimal],
to: "string",
convertFrom: function (value) {
return value;
},
convertTo: function (value) {
return value;
},
};
//# sourceMappingURL=BigNumberNoopConverter.js.map