File
|
customArrayProperty
|
|
Type
|
CustomType[]
|
import { FormGroupTyped } from '@allianz/taly-core';
import { AbstractBuildingBlock } from '@allianz/taly-core/building-blocks';
type CustomType = 'VariantOne' | 'VariantTwo ' | 'VariantThree';
interface FormModel {
customProperty: CustomType;
customArrayProperty: CustomType[];
}
export class GetFormCorrectReturnCustomType extends AbstractBuildingBlock {
form!: FormGroupTyped<FormModel>;
override getForm() {
return this.form as FormGroupTyped<FormModel>;
}
}