Skip to content
TS 타입스크립트기술 정리

TypeScript features

1 min readTech notesMoved from my Tistory blogRead the Korean original

Characteristics of TypeScript

  • Compiled language, statically typed language

  • It is a statically typed compiled language, and it is converted into JavaScript code through the compiler or Babel.

  • Its advantage is that you can check types and catch errors while writing code, and because the types are decided in advance, it runs very fast.

  • Its downside is that you have to decide the type every time you write code, which is tedious, increases the amount of code, and makes compiling take a long time.

  • TypeScript is a superset of JavaScript, that is, a language that adds TypeScript syntax on top of basic JavaScript syntax. So code written in valid JavaScript can be converted by changing the extension from .js to .ts and compiling it as TypeScript.

  • TypeScript includes the syntax newly introduced in ES6 and provides object-oriented programming patterns such as classes, interfaces, inheritance, and modules.

  • #TypeScript features

More in Tech notes