TypeScript 핵심 기능 설명
TypeScript 설치 및 실행
TypeScript를 설치하는 방법은 npm 또는 yarn을 사용하는 것입니다.
npm install typescript -g
yarn global add typescript
설치 후 TypeScript 파일을 JavaScript로 컴파일하거나 직접 실행할 수 있습니다.
tsc Demo1.ts
npm install -g ts-node
ts-node Demo1.ts
정적 타입
TypeScript의 핵심은 정적 타 ...
8월 1일 22:30에 게시됨