Strongly type Forms on TaxReturn.
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 22 Feb 2020 19:34:12 +0000 (14:34 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 22 Feb 2020 19:34:12 +0000 (14:34 -0500)
commitb68354b0524c5da9023b1f4c3bfb087e5d634055
tree9f536773922c1a684b0824ce6e45c0ec4f11e9b5
parente7fbb1bd382b1422e766c256b88dfa210cf65235
Strongly type Forms on TaxReturn.

This lets type information be propagated for checking using
ReferenceLine and AccumulatorLine.

Two side effects of this change:

- The lines type is now exposed on Form, so that Line subclasses can use
  the type information.
- ReferenceLines to the same form have to erase the FormClass type.
src/Form.test.ts
src/Form.ts
src/Line.test.ts
src/Line.ts
src/TaxReturn.test.ts
src/TaxReturn.ts
src/fed2019/Form1040.ts
src/fed2019/Form8959.ts