Open Hoferdilo opened 5 years ago
I have the following typescript Attribute I want to marshall and unmarshall.
@attribute({memberType: {type: 'Number'}}) private _ranges : Array<Array<number>>; get ranges():Array<Array<number>> { return this._ranges; } set ranges(theRanges:Array<Array<number>>){ if(theRanges != undefined) { this._ranges = new Array<Array<number>>(); theRanges.forEach(element => { element.sort(function(a:number, b:number):number{ return a-b; }); this._ranges.push(element); }); } }
Sadly I cannot seem to find a way to do this. Can anyone help me with this issue.
I have the following typescript Attribute I want to marshall and unmarshall.
Sadly I cannot seem to find a way to do this. Can anyone help me with this issue.