]> src.bluestatic.org Git - ustaxlib.git/blob - src/fed2019/Form1040.ts
Further improve the typing of InputLine to not require the `as any` cast.
[ustaxlib.git] / src / fed2019 / Form1040.ts
1 import Form from '../Form';
2 import TaxReturn from '../TaxReturn';
3 import { Line, AccumulatorLine } from '../Line';
4
5 export interface Form1040Input {
6 };
7
8 export default class Form1040 extends Form<Form1040Input> {
9 get name(): string { return 'Form 1040'; }
10
11 protected getLines(): Line<any>[] {
12 return [
13 new AccumulatorLine('1', 'W-2', '1', 'Wages, salaries, tips, etc.'),
14 new AccumulatorLine('2a', '1099-INT', '8', 'Tax-exempt interest'),
15 new AccumulatorLine('2b', '1009-INT', '1', 'Taxable interest'),
16 ];
17 }
18 };