반응형
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 |
Tags
- type challenge
- 문자열
- Node.js
- Algorithm
- 그래프
- typescript
- 쉬운 문제
- 소켓
- 타입스크립트
- HTTP
- Nestjs
- 프로그래머스
- BFS
- dp
- javascript
- 수학
- TCP
- 알고리즘
- 레벨 1
- ip
- 프로그래머스 레벨 2
- dfs
- 크롤링
- 가천대
- 타입 챌린지
- Crawling
- 백준
- 자바스크립트
- HTTP 완벽 가이드
- socket
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