Search
Contents
27.
TypeScript
27.
TypeScript
ΒΆ
27.1. Why TypeScript?
27.1.1. Set Up Your Local Development Environment
27.2. Declaring and Using Variables
27.2.1.
number
27.2.2.
string
27.2.3.
boolean
27.2.4. Examples
27.2.5. Check Your Understanding
27.3. Arrays in TypeScript
27.3.1. Examples
27.3.2. Check Your Understanding
27.4. Functions in TypeScript
27.4.1. Declaring Functions
27.4.2. Optional Parameter
27.4.3. Check Your Understanding
27.5. Classes and Interfaces in TypeScript
27.5.1. Classes
27.5.2. Interfaces
27.5.3.
export
27.5.4.
import
27.5.5. Check Your Understanding
27.6. Compiling TypeScript
27.6.1.
hello_world.ts
27.7. Exercises: TypeScript
27.7.1. Part 0 - Get the Starter Code
27.7.2. Part 1 - Declare Variables With Type
27.7.3. Part 2 - Print Days to Mars
27.7.4. Part 3 - Create a Function
27.7.5. Part 4 - Create a Spacecraft Class
27.7.6. Part 5 - Export and Import the SpaceLocation Class
27.7.7. Sanity Check
27.8. Studio: TypeScript
27.8.1. Starter Code
27.8.2. Requirements
27.8.3. Classes
27.8.4. Simulation in
index.ts
27.8.5. Compile and Run
index.ts
27.8.6. Submitting Your Work
←
26.6.
Studio: Fetch & JSON
27.1.
Why TypeScript?
→