- Clone your forked repo into your local machine
cdinto the repo- Create a development branch separate from master via
git checkout -b dev - Set up compiler configuration file tsconfig.json via
tsc --init - Enter command
npm install --save @types/nodeto be able to use ES6 types in your function - Code your algorithm for the given specifications in problem-a.ts
- Test your changes by compiling the .ts file via
tsc ./exercise/problem-a.tsortsc --watch ./exercise/problem-a.tsto auto-recompile on file save - Run the script via
node ./exercise/problem-a.jsand check if your code passes the given tests - If your code passes the tests,
add,commit, andpushyour code todev. - Create a pull request to merge your commits from
devintomasterin your repository, rather than the repo you forked from. - Submit the link to your pull request on Canvas under Lab 1 Exercise
Repository navigation
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|