자바스크립트는 동적 타입(dynamically typed) 반면에 타입 스크립트는 정적 타입(Statically Typed) 라서 type 오류가 나면 즉시 알려 준다.
OOP 가능하고 유지 보수 좋고 자바스크립트에서 단점을 보완 시켜 줄 수 있다.
node js 설치 이후 npm 이용해서 설치 한다
npm install -g typescript
tsc -v (버전 확인)
참고 사이트: https://www.typescriptlang.org/
JavaScript 2가지 타입으로 말할 수 있다
Primitive: number, string, boolean, bigint, symbol, null, undefined
Object: function, array