libs/nx/src/executors/shared/metadata-utils/__test/example-library/src/other/get-form-recursive-return-interface.ts
string
literal type
import { FormGroupTyped } from '@allianz/taly-common'; import { AbstractBuildingBlock } from '@allianz/taly-core'; interface FormType { firstLayerPropertyA: string; firstLayerPropertyB: { firstLayerSuBPropertyA: { firstLayerSubSubPropertyA: SecondLayerInterface; }; }; firstLayerPropertyC: string; } interface SecondLayerInterface { secondLayerPropertyA: boolean; secondLayerPropertyB: { secondLayerSubPropertyA: ThirdLayerInterface; }; secondLayerPropertyC: boolean; } interface ThirdLayerInterface { thirdLayerPropertyA: number; thirdLayerPropertyB: { thirdLayerSubPropertyA: FourthLayerWithRecursionInterface; }; thirdLayerPropertyC: number; } interface FourthLayerWithRecursionInterface { fourthLayerPropertyA: string; fourthLayerPropertyB: { fourthLayerSubPropertyWithRecursion: SecondLayerInterface; }; fourthLayerPropertyC: string; } export class GetFormRecursiveReturnInterface extends AbstractBuildingBlock { form: FormGroupTyped<FormType>; getForm() { return this.form; } }