1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/** * Created by obarda on 8/2/2016. */ 'use strict'; export class Members { [index:string]:string; constructor(members?:Members) { _.forEach(members, (memberId:string, index) => { this[index] = memberId; }); } }