From 3e66f34fd4178c940818fa9dff938cdbc9bccb4c Mon Sep 17 00:00:00 2001 From: Mike North Date: Sun, 22 Oct 2023 22:58:03 -0700 Subject: [PATCH] final readme fixes (#914) --- .../blog/fundamentals-v4/01-intro/index.md | 44 +++++++++---------- 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/packages/website/content/blog/fundamentals-v4/01-intro/index.md b/packages/website/content/blog/fundamentals-v4/01-intro/index.md index 4df29fe48..0fc755b20 100644 --- a/packages/website/content/blog/fundamentals-v4/01-intro/index.md +++ b/packages/website/content/blog/fundamentals-v4/01-intro/index.md @@ -91,29 +91,25 @@ As long as you can access the following websites, you should require no further - [The course website you're reading right now](https://fun-v3.typescript-training.com) - [The official TypeScript website](https://www.typescriptlang.org) - -[[danger | :warning: TODO]] -| Update the agenda - -## Agenda - -- Using `tsc` and **compiling** TS code into JavaScript -- **Variables** and simple values -- **Objects** and arrays -
`--- BREAK ---` -- Categorizing **type systems** -- Set theory, **Union and Intersection types** -- **Interfaces and Type Aliases** -
`--- LUNCH ---` -- **Hack**: Writing types for JSON values -- **Functions** -- **Classes** in TypeScript -- **Top and bottom types** -- User-defined **Type guards** -
`--- BREAK ---` -- Handling **nullish values** -- **Generics** -- **Hack**: higher-order functions for dictionaries -- Wrap up +If you'd like to follow along with interactive examples, please install [Volta](https://volta.sh) + +```sh +curl https://get.volta.sh | bash # Linux / macOS only +volta install node@lts yarn@^3 +``` + +Make sure to follow the installation instructions for `volta` -- both what you see on the website and what you see in the CLI console. Next, clone the git repo for this course [github.com/mike-north/typescript-courses](https://github.com/mike-north/typescript-courses), enter the directory, and run `yarn` to install all dependencies + +```sh +git clone https://github.com/mike-north/typescript-courses +cd typescript-courses +yarn +``` + +most of our work today will be in the `packages/notes-ts-fundamentals-v4` folder + +```sh +cd packages/notes-ts-fundamentals-v4 +``` [^1]: TypeScript by itself is not going to reduce the occurrence of errors in your projects. It does, however, provide several tools that _greatly_ improve visibility of some kinds of defects.