https://src.bluestatic.org
/
ustaxlib.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8f365c
)
Add a forms accessor to TaxReturn.
author
Robert Sesek <rsesek@bluestatic.org>
Sun, 8 Mar 2020 23:07:13 +0000
(19:07 -0400)
committer
Robert Sesek <rsesek@bluestatic.org>
Sun, 8 Mar 2020 23:07:13 +0000
(19:07 -0400)
src/TaxReturn.ts
patch
|
blob
|
history
diff --git
a/src/TaxReturn.ts
b/src/TaxReturn.ts
index 911da8237fc7035e612cb1edb3592d280c45a055..3320756f6885045062ba148b5fdc6ac9acfa3c9a 100644
(file)
--- a/
src/TaxReturn.ts
+++ b/
src/TaxReturn.ts
@@
-16,6
+16,10
@@
export default class TaxReturn {
return this._year;
}
+ get forms(): Form<any, unknown>[] {
+ return [...this._forms];
+ }
+
addPerson(person: Person) {
if (person.relation == Relation.Dependent) {
throw new UnsupportedFeatureError('Dependents are not supported');