site
site copied to clipboard
Companion website for the Learning TypeScript book.
This is covered in the book, but keeps coming up as something people ask for help with. There's a difference between taking in a `keyof typeof` type and taking in...
## Overview It's a quirk that I briefly mention in the book, but not strongly.
## Overview Inspired by this thread: https://twitter.com/rauschma/status/1554533344838311937 I'd like to roughly put the strategies mentioned there in article form: * `css.d.ts` * typed-css-modules
## Overview `?.` and `!.` aren't the same. I should write an article explaining the difference. One common slipup I've seen is people doing this: ```ts const myValue = document.getElementById(someId)?.textContent;...
## PR Checklist - [ ] Addresses an existing open issue: fixes #000 - [ ] That issue was marked as [accepting prs](https://github.com/LearningTypeScript/site/issues?q=is%3Aopen+is%3Aissue+label%3A%22accepting+prs%22) - [ ] Steps in [CONTRIBUTING.md](https://github.com/LearningTypeScript/site/blob/main/.github/CONTRIBUTING.md) were...
### Bug Report Checklist - [X] I have [searched for related issues](https://github.com/LearningTypeScript/site/issues?q=is%3Aissue+label%3A%22type%3A+bug%22) and found none that matched my issue. - [X] This is the appropriate issue form for the bug...
### Tooling Report Checklist - [X] I have pulled the latest `main` branch of the repository. - [X] I have [searched for related issues](https://github.com/LearningTypeScript/projects/issues?q=is%3Aissue+label%3A%22area%3A+tooling) and found none that matched my...
## Overview Individual chapter and project pages have the sidebar. But learningtypescript.com/projects does not. Let's add it in.
## Overview Right now, individual steps within appetizer projects link to their GitHub pages. This was done because I didn't want the page's left-hand-side table-of-contents to include projects There should...
### Tooling Report Checklist - [X] I have pulled the latest `main` branch of the repository. - [X] I have [searched for related issues](https://github.com/LearningTypeScript/projects/issues?q=is%3Aissue+label%3A%22area%3A+tooling) and found none that matched my...