반응형
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 |
Tags
- dp
- 타입 챌린지
- 크롤링
- ip
- 수학
- BFS
- typescript
- 알고리즘
- Nestjs
- Node.js
- HTTP 완벽 가이드
- 타입스크립트
- 레벨 1
- 소켓
- TCP
- socket
- 그래프
- type challenge
- 문자열
- 쉬운 문제
- HTTP
- 프로그래머스 레벨 2
- dfs
- Crawling
- 프로그래머스
- javascript
- 백준
- 자바스크립트
- Algorithm
- 가천대
Archives
- Today
- Total
목록typescript compile (1)
kakasoo
TypeScript 코드는 어떻게 변환되는가?
import * as ts from "typescript"; // TypeScript 파일을 읽어들입니다. const sourceFile = ts.createSourceFile( "example.ts", ` const num: number = 42; const str: string = "Hello, TypeScript!"; const bool: boolean = true; `, ts.ScriptTarget.Latest ); // 타입 체커를 생성합니다. const program = ts.createProgram({ rootNames: ["example.ts"], options: { target: ts.ScriptTarget.ES2015, module: ts.ModuleKind.CommonJS, }, })..
프로그래밍/TypeScript
2023. 3. 19. 22:20