You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What about adding a corresponding markdown file for each lesson. This would essentially be what you would be saying if you were teaching it as you did on livestream.
01-number.problem.md
We need to tell Typescript what type of data are expect for parameters a and b in the addTwoNumbers function. The format to declare the type of a function parameter is to add : type following each parameter. In this case it would be : number. With this information, Typescript can go to work enforcing appropriate typing of the addTwoNumbers function parameters.
Even better, format the makdown file so that the top describes the problem/expectations and then a link scrolls down to describe the answer.
The text was updated successfully, but these errors were encountered:
In the full video course, I'll be adding video explanations for each problem/solution. This repository represents my sketches for workshop/course material, so I won't be adding written explanations here.
What about adding a corresponding markdown file for each lesson. This would essentially be what you would be saying if you were teaching it as you did on livestream.
01-number.problem.md
We need to tell Typescript what type of data are expect for parameters a and b in the addTwoNumbers function. The format to declare the type of a function parameter is to add
: type
following each parameter. In this case it would be: number
. With this information, Typescript can go to work enforcing appropriate typing of the addTwoNumbers function parameters.Even better, format the makdown file so that the top describes the problem/expectations and then a link scrolls down to describe the answer.
The text was updated successfully, but these errors were encountered: