create model in typescript

Solutions on MaxInterview for create model in typescript by the best coders in the world

showing results for - "create model in typescript"
Renata
04 Jan 2017
1type DonutChartModel = {
2    dimension: number;
3    innerRadius: number;
4};
5var donut: DonutChartModel = {
6    dimension: 1,
7    innerRadius: 2
8};