Skip to content

Commit

Permalink
Explicitly set return type of addControl
Browse files Browse the repository at this point in the history
  • Loading branch information
trslater committed Nov 13, 2024
1 parent 1af39ff commit 443317e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ export class AdditionalInformationComponent extends FilesStepComponent implement
return item.type === STRUCTURE_TYPES.PRINCIPAL_RESIDENCE || item.type === STRUCTURE_TYPES.ADDITIONAL_RESIDENCE;
}

private addControl(area: number | null = null) {
private addControl(area: number | null = null): FormProposedStructure {
const areaStr = area ? area.toString(10) : null;
const newStructure: FormProposedStructure = { type: null, area: areaStr, id: v4() };
this.proposedStructures.push(newStructure);
Expand Down

0 comments on commit 443317e

Please sign in to comment.