LaunchCode logo
  1. Contents
  2. 27. TypeScript

27. TypeScriptΒΆ

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

Back to top