Skip to content

CodingGarden/intro-to-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to Typescript


Typescript

  • A statically typed superset of JavaScript that compiles to plain JavaScript.
    • Any valid JavaScript, is valid Typescript
  • TypeScript adds additional developer features to JavaScript that are stripped away at compile time

  • TypeScript is a static type checker
    • Detects errors in code without running it
  • TypeScript does NOT effect the runtime behavior of JavaScript
  • To run TypeScript code, we have to convert it to JavaScript FIRST
  • The TypeScript to JavaScript compilation process removes all type information
  • TypeScript doesn’t provide any additional runtime libraries. There’s no additional TypeScript-specific framework to learn.
  • Should I learn JavaScript or TypeScript first?

Prerequisites

  • You have built basic web pages or backends with JavaScript
  • You have npm and node installed

Agenda

Examples

We'll use project templates for these so we don't have to configure typescript from scratch.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published