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