Skip to content

rahman95/typescript-crash-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Typescript Crash Course πŸ“πŸ’₯

What is it?

  • Superset of Javascript developed by Microsoft
  • Compiles back to plain Javascript
  • Can integrate with JS projects
  • Designed for development of larger apps

Features

  • Static type checking
  • Class based objects
  • Modularity
  • ES6 Features
  • Syntax closer to Java/Scala
  • Allows for better tooling

Static Type Checking

We can check and assign variable, parameter and function types.

  • Optional
  • Prevents type issues and potential future issues
  • Make code more readable and descriptive

Class Based Objects

  • Use Object Oriented programming in JS
  • No prototypes
  • Encapsulation
  • Inheritance
  • Access Modifiers // [public, protected, private]

Available Types

  • String
  • Number
  • Boolean
  • Array
  • Any
  • Void
  • Null
  • Tuple // array with fixed values
  • Enum
  • Generics

About

Introductory course to TypeScript basics πŸ‘·πŸΌπŸš§

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors