tax_project_sergi
v1.0.0
Published
Demonstration of use of Class project.
Readme
Tax submission
It is an exercise to see how classes work with TypeScript
Files
- IrpfTax : Manage one kind of tax
- IrpfTaxes : Initialize all range of taxes and offers a funcion to calc final tax.
- PlaPensions: Generic class to offer common attributes and funcions.
- PlaPensionsEmpresa: With the especifications and limitations of Companies.
- PlaPensionsPersonaFisica: With the especifications and limitations of a Phisical Person.
- IrpfCalc : Main file (execute this.). It contais UI questions.
Execution
$ npm install
$ tsc
$ node dist/IrpfCalc