Skip to content

Commit 16537b1

Browse files
committed
tweaks
1 parent 0d369c2 commit 16537b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/9/en/part9b.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ and setting up <i>scripts</i> within the package.json:
4949
}
5050
```
5151

52-
You can now use <i>ts-node</i> within this directory by running *npm run ts-node*. Note that if you are using ts-node through package.json, command-line arguments that include short or long form options for the `npm run` script need to be prefixed with *--*. So if you want to run file.ts with <i>ts-node</i> and options `-s` and `--someoption`, the whole command is:
52+
You can now use <i>ts-node</i> within this directory by running *npm run ts-node*. Note that if you are using ts-node through package.json, command-line arguments that include short or long form options for the _npm run script_ need to be prefixed with *--*. So if you want to run file.ts with <i>ts-node</i> and options _-s_ and _--someoption_, the whole command is:
5353

5454
```shell
5555
npm run ts-node file.ts -- -s --someoption
@@ -509,7 +509,7 @@ Write a function *calculateExercises* that calculates the average time of <i>dai
509509
- the calculated average time
510510
- boolean value describing if the target was reached
511511
- a rating between the numbers 1-3 that tells how well the hours are met. You can decide on the metric on your own.
512-
- a text value explaining the rating
512+
- a text value explaining the rating, you can come up with the explanations
513513

514514
The daily exercise hours are given to the function as an [array](https://www.typescriptlang.org/docs/handbook/basic-types.html#array) that contains the number of exercise hours for each day in the training period. Eg. a week with 3 hours of training on Monday, none on Tuesday, 2 hours on Wednesday, 4.5 hours on Thursday and so on would be represented by the following array:
515515

0 commit comments

Comments
 (0)