1interface ISomeObject {
2 subPropertie1: string,
3 subPropertie2: number,
4}
5
6interface IProperties {
7 property1: string,
8 property2: boolean,
9 property3: number[],
10 property4: ISomeObject,
11 property5: ISomeObject[],
12}
13
14function (args:IProperties): void { // Sample Usage
15 console.log(args.property1);
16}