Typescript Task 1 - 2

File Structure

My answers are located in src:

  • tast1.ts - Answer for task 1

  • task2.ts - Answer for task 2

  • tast1.test.ts - Test cases for task 1

  • task2.test.ts - Test cases for task 2

Getting Started

First, install required dependencies:

yarn
# or
npm install

Then, build the src file:

yarn dev
# or
npm run dev

After that, you can also run test with

yarn test
# or
npm run test

You can run specifically task 1 with:

yarn task1
# or
npm run task1

and task2 with

yarn task2
# or
npm run task2