---
# System prepended metadata

title: 無腦 TypeScript 初始配置

---

# 無腦 TypeScript 初始配置

> https://github.com/tsconfig/bases

```bash
npm i @tsconfig/recommended -D
```

在根目錄建立 `tsconfig.json`

*tsconfig.json*

```json=
{
  "extends": "@tsconfig/recommended/tsconfig.json"
}
```