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