包详细信息

@tsconfig/recommended

tsconfig816.4kMIT1.0.8

A base TSConfig for working with Recommended.

tsconfig, recommended

自述文件

The recommended base for a TSConfig.

Add the package to your "devDependencies":

npm install --save-dev @tsconfig/recommended
yarn add --dev @tsconfig/recommended

Add to your tsconfig.json:

"extends": "@tsconfig/recommended/tsconfig.json"

The tsconfig.json:

{
  "compilerOptions": {
    "target": "es2016",
    "module": "commonjs",
    "esModuleInterop": true,
    "forceConsistentCasingInFileNames": true,
    "strict": true,
    "skipLibCheck": true
  },
  "$schema": "https://json.schemastore.org/tsconfig"
}

You can find the code here.