====== TypeScript ======
타입스크립트(TypeScript)는 자바스크립트의 슈퍼셋인 오픈소스 프로그래밍 언어다. 마이크로소프트에서 개발, 유지하고 있으며 엄격한 문법을 지원한다. C#의 리드 아키텍트이자 델파이, 터보 파스칼의 창시자인 Anders Hejlsberg가 개발에 참여한다.[1] 클라이언트 사이드와 서버 사이드를 위한 개발에 사용할 수 있다.
[[https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md|TypeScript 언어 사양]]
타입스크립트는 자바스크립트 엔진을 사용하면서 커다란 애플리케이션을 개발할 수 있게 설계된 언어다.[2] 자바스크립트의 슈퍼셋이기 때문에 자바스크립트로 작성된 프로그램이 타입스크립트 프로그램으로도 동작한다.
타입스크립트에서 자신이 원하는 타입을 정의하고 프로그래밍을 하면 자바스크립트로 컴파일 되어 실행할 수 있다.
타입스크립트는 모든 운영체제, 모든 브라우저, 모든 호스트에서 사용가능한 오픈소스다.
* [[http://www.typescriptlang.org/ko/docs/handbook/typescript-in-5-minutes.html|TypeScript Language]]
* [[https://moon9342.github.io/typescript-introduction|TypeScript강의]]
* [[https://www.inflearn.com/course-status-2/|TypeScript강의-inflearn]]
* [[typescript:cheat_sheet|Cheat Sheet]]
===== Start =====
- [[typescript:first|TypeScript 시작하기]]
- [[typescript:datatype|TypeScript Data Type]]
- [[typescript:variable|변수선언]]
- [[typescript:destructuring|Destructuring]]
- [[typescript:interface|Interfaces]]
===== TypeScript Documentation [Handbook] =====
- [[typescript:basic types|Basic Types]]
- [[typescript:variable declarations|Variable Declarations]]
- [[typescript:interfaces|Interfaces]]
- [[typescript:class|Classes]]
- [[typescript:function|Functions]]
- [[typescript:generic|Generics]]
- [[typescript:enum|Enums]]
- [[typescript:type_inference|Type Inference]]
- [[typescript:type_compatibility|Type Compatibility]]
- [[typescript:advanced_type|Advanced Types]]
- [[typescript:symbol|Symbol]]
- [[typescript:iterator_generator|Iterators and Generators]]
- [[typescript:module|Modules]]
- [[typescript:namespace|Namespaces]]
- [[typescript:namespace_module|Namespaces and Modules]]
- [[typescript:module_resolution|Module Resolution]]
- [[typescript:declaration_merging|Declaration Merging]]
- [[typescript:jsx|JSX]]
- [[typescript:decorator|Decorators]]
- [[typescript:mixins|Mixins]]
- [[typescript:triple_slash|Triple-Slash Directives]]
- [[typescript:type_checking|Type Checking JavaScript Files]]
- [[typescript:utility|Utility Types]]
- [[typescript:operator|Spread Operator]]
===== Deep Typescript =====
- [[typescript:deep:type|type variable]]
==== 기초 ====
IDE는 VS, VSCode 혹은 IntelliJ(요놈을 많이들 사용하고 있는 것같음)
* 프로그램설치
* node.js
* Directory 생성후
* npm init -y
* npm i typescript
* Typescript 설치 --> node.js Global에 설치하려면
* npm i -g typescript
* Compiler 설정파일생성
* tsc --init
* node로 js실행
* node test.js