In this challenge you will export code from one file and use it in another.
First we must install typescript. In your terminal run the following command
$ npm install -g typescript
Then we must install our other dependencies. run the below command
$ npm install
** Now ** if you have not cloned a repo from github classroom, Clone the repo with the below command
$ git clone https://github.com/SoftStackFactory/typescript-imports
$ Is not apart of the command That denotes a bash terminal command
the pattern for running tests in all excercises can be seen below
$ npm test -- <file-name>
Once you run the tests you will see a message in your console indicating whether the tests passed or failed
failed test(s) | passed test(s) |
---|---|
If you fail to pass a tests read the message in red. The problem will be in the challange file | Once you have passed all tests move on to the steps below |
Once you have created all challenges push your completed files to the remote repo created by the github classroom