File

libs/nx/src/executors/introspection/compat/__test/example-library/src/other/get-form-recursive-return-interface.ts

Index

Properties

Properties

firstLayerPropertyA
Type string
firstLayerPropertyB
Type literal type
firstLayerPropertyC
Type string
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 ""