@efox/emp-tsconfig
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

EMP Typescript Config

Road Map

  • v1.0.4 加入 typescript-plugin-css-modules 支持 vscode 直接支持 css 类型检测
  • v1.0.1 支持 Top Level Await 特性

安装

yarn add @efox/emp-tsconfig -D or npm i @efox/emp-tsconfig --dev

使用

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

Readme

Keywords

none

Package Sidebar

Install

npm i @efox/emp-tsconfig

Weekly Downloads

57

Version

1.1.4

License

MIT

Unpacked Size

759 kB

Total Files

7

Last publish

Collaborators

  • ron0115
  • hiitiger
  • ckken
  • doerme
  • hupp
  • magic_zhong
  • yz101x
  • wangcylive
  • tim2018
  • linhaoran
  • yangshangzhi
  • lucky-dog
  • wu_wei
  • nijina
  • zhengy1995
  • bennyshi
  • yellowbeee
  • keylenn