@belloai/bello-tsconfig

0.0.10 • Public • Published

Bello Typescript Config

tsconfig.json 适用于 vue 项目

安装

yarn add @belloai/bello-tsconfig -D or npm i @belloai/bello-tsconfig --dev

使用

// ./tsconfig.json
{
  "extends": "@belloai/bello-tsconfig",
  "compilerOptions": {
    "baseUrl": "."
  },
  "include": ["src"]
}
// ./settings.json
{
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
  "typescript.tsdk": "node_modules/typescript/lib", //支持css 类型检测配置
  "typescript.enablePromptUseWorkspaceTsdk": true //支持css 类型检测配置
}

tsconfig.json 内容

更多 ts 的详细学习

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @belloai/bello-tsconfig

      Weekly Downloads

      9

      Version

      0.0.10

      License

      ISC

      Unpacked Size

      2.43 kB

      Total Files

      3

      Last publish

      Collaborators

      • powan
      • elysion72513
      • thomas-ballo
      • ouxiaohui