사용자 도구

사이트 도구


typescript:home

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
typescript:home [2021/10/01 14:20] – 바깥 편집 127.0.0.1typescript:home [2025/04/15 10:05] (현재) – 바깥 편집 127.0.0.1
줄 1: 줄 1:
 +====== 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 생성후
 +      * <code bash>npm init -y</code>
 +      * <code bash>npm i typescript</code>
 +    * Typescript 설치 --> node.js Global에 설치하려면
 +      * <code bash>npm i -g typescript</code>
 +    * Compiler 설정파일생성
 +      * <code bash>tsc --init</code>
 +    * node로 js실행
 +      * <code bash>node test.js</code>