I want to create an array from existing values of class vars in typescript
Eg:
export class example{
static readonly a = 'aval';
static readonly b = 'bval';
static readonly c = 'cval';
}
TO
exampleArray = ['aval', 'bval', 'cval'];
Note: I want to make it like access all vars values of class in one go and put it in array not like [example.a]