From ebb747c5c3c463538340e9d701620053cfa9fd30 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 8 Mar 2020 19:07:13 -0400 Subject: [PATCH] Add a forms accessor to TaxReturn. --- src/TaxReturn.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/TaxReturn.ts b/src/TaxReturn.ts index 911da82..3320756 100644 --- a/src/TaxReturn.ts +++ b/src/TaxReturn.ts @@ -16,6 +16,10 @@ export default class TaxReturn { return this._year; } + get forms(): Form[] { + return [...this._forms]; + } + addPerson(person: Person) { if (person.relation == Relation.Dependent) { throw new UnsupportedFeatureError('Dependents are not supported'); -- 2.43.5