Update imports for TaxReturn abstraction.
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 14 Mar 2020 12:52:48 +0000 (08:52 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 14 Mar 2020 12:52:48 +0000 (08:52 -0400)
src/index.tsx

index 4c70a94d6f0f7ebd6197db5aae65bf38c3195af7..415a6610e50c3c630ece59098f57f0e2081f4a67 100644 (file)
@@ -1,11 +1,11 @@
 import { render } from 'solid-js/dom';
-import { Form1040, FilingStatus, Schedule2, W2 } from 'ustaxlib/fed2019';
+import { Form1040, FilingStatus, Schedule2, TaxReturn, W2 } from 'ustaxlib/fed2019';
 
-import { TaxReturn, Person } from 'ustaxlib/core';
+import { Person } from 'ustaxlib/core';
 
 import App from './App';
 
-const tr = new TaxReturn(2019);
+const tr = new TaxReturn();
 tr.addForm(new Form1040({ filingStatus: FilingStatus.Single }));
 tr.addForm(new W2({
   employer: 'Employer',