File

libs/nx/src/executors/shared/metadata-utils/__test/example-library/src/other/get-form-recursive-return-interface.ts

Extends

AbstractBuildingBlock

Index

Properties
Methods

Properties

form
Type : FormGroupTyped<FormType>

Methods

getForm
getForm()
Returns : FormGroupTyped<FormType>
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;
  }
}

results matching ""

    No results matching ""