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
Copy file name to clipboardExpand all lines: README.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# TypeScript Workshops
2
2
3
-
###Intro
3
+
## Intro
4
4
5
5
This repository serves as an introduction to *TypeScript*. After reading through the documentation and completing the challenges, you should have a basic grasp of how the language works.
6
6
7
-
### Installation
7
+
##Setup
8
8
9
9
[VSCode](code.visualstudio.com/download) is a great editor for *TypeScript*. It has great navigation for the language and includes numerous extensions for both *JavaScript* and *Typescript*.
10
10
@@ -15,11 +15,13 @@ Then install local packages from the root of the project.
15
15
npm install
16
16
```
17
17
18
-
### Basic Types
18
+
## Folders
19
+
20
+
#### Basic Types
19
21
20
22
In the [`basic-types/`](./basic-types/) folder, there is some documentation on basic types and data structures. These come from https://www.typescriptlang.org/. Go through each file and experiment with the code.
21
23
22
-
### TSC Playground
24
+
####TSC Playground
23
25
24
26
*TypeScript* is compiled into *JavaScript* for both the browser and *Node.js*. The [`tsc-playground/`](./tsc-playground) folder contains an `index.ts` file that can be compiled into valid *JavaScript*.
25
27
@@ -29,7 +31,7 @@ npm run compile-typescript
29
31
30
32
This command will output an `index.js` file. You can play around with different compilation flags. See documentation on that [here](https://www.typescriptlang.org/docs/handbook/compiler-options.html).
31
33
32
-
### Gimme It
34
+
####Gimme It
33
35
34
36
Here's a simple Kata to familiarize yourself with the syntax of the language.
35
37
@@ -39,7 +41,7 @@ Get all tests passing by removing `x` from `xit` and running the tests.
39
41
npm test gimme-it/
40
42
```
41
43
42
-
### Two Fer
44
+
####Two Fer
43
45
44
46
This challenge requires string interpolation and input/return typing for functions.
0 commit comments