1.0.0 • Published 2 years ago

tax_project_sergi v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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