In TypeScript classes it\'s possible to declare types for properties, for example:
class className { property: string; };
How do declare
In TypeScript if we are declaring object then we'd use the following syntax:
[access modifier] variable name : { /* structure of object */ }
For example:
private Object:{ Key1: string, Key2: number }