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