@4react/tsconfig 中文文档教程
@4react / tsconfig
React 模块的 TypeScript 配置
Usage
Install dependency
npm i -D @4react/tsconfig
Add tsconfig.json
to the project
{
"extends": "@4react/tsconfig"
}
Optionally override configuration
{
"extends": "@4react/tsconfig",
"compilerOptions": {...}
}
@4react / tsconfig
TypeScript configuration for React Modules
Usage
Install dependency
npm i -D @4react/tsconfig
Add tsconfig.json
to the project
{
"extends": "@4react/tsconfig"
}
Optionally override configuration
{
"extends": "@4react/tsconfig",
"compilerOptions": {...}
}
更多