Skip to content

Idea for Markdown explanations of each solution #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cycle4passion opened this issue Aug 27, 2022 · 1 comment
Closed

Idea for Markdown explanations of each solution #17

cycle4passion opened this issue Aug 27, 2022 · 1 comment

Comments

@cycle4passion
Copy link

cycle4passion commented Aug 27, 2022

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.

@mattpocock
Copy link
Collaborator

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.

@mattpocock mattpocock closed this as not planned Won't fix, can't repro, duplicate, stale Aug 27, 2022
McCambley added a commit to McCambley/beginners-typescript-tutorial that referenced this issue Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants