File
firstLayerPropertyA
|
Type
|
string
|
firstLayerPropertyB
|
Type
|
literal type
|
firstLayerPropertyC
|
Type
|
string
|
import { AbstractBuildingBlock } from '@allianz/taly-core';
interface MyState {
firstLayerPropertyA: string;
firstLayerPropertyB: {
firstLayerSuBPropertyA: {
firstLayerSubSubPropertyA: SecondLayerType;
};
};
firstLayerPropertyC: string;
}
type SecondLayerType = {
secondLayerPropertyA: boolean;
secondLayerPropertyB: {
secondLayerSubPropertyA: ThirdLayerInterface;
};
secondLayerPropertyC: boolean;
};
interface ThirdLayerInterface {
thirdLayerPropertyA: number;
thirdLayerPropertyB: {
thirdLayerSubPropertyA: FourthLayerWithRecursionType;
};
thirdLayerPropertyC: number;
}
type FourthLayerWithRecursionType = {
fourthLayerPropertyA: string;
fourthLayerPropertyB: {
fourthLayerSubPropertyWithRecursion: SecondLayerType;
};
fourthLayerPropertyC: string;
};
export class MyComponent extends AbstractBuildingBlock<MyState> {}