TypeScript

Table of Contents

1. typescript 설치하기

npm install -g typescript@next
pnpm add -D typescript@next

2. tsdk

{
  "typescript.tsdk": "./node_modules/typescript/lib"
}

3. paths

"compilerOptions": {
  "baseUrl": ".",
  "paths": {
    "@/*": ["src/*"],
    "@layouts/*": ["src/layouts/*"],
    "@components/*": ["src/components/*"],
  }
}

4. 관련 노트

5. 이 노트를 가리키는 글