Hi I am new to TypeScript and I come from both a C# and JavaScript background. I am trying to create a way that allows me to create class models similar to what we can do in C#.
Giving the fields default values should do what you're looking for.
export class DonutChartModel { dimension: number = 0; innerRadius: number = 0; backgroundClass: string = ""; backgroundOpacity: number = 0; }