Browse Source
chore: update type resoving when importing from `ant/lib/*` (#37941)
pull/37955/head
Zheeeng
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
tsconfig.json
|
@ -3,7 +3,8 @@ |
|
|
"baseUrl": "./", |
|
|
"baseUrl": "./", |
|
|
"paths": { |
|
|
"paths": { |
|
|
"antd": ["components/index.tsx"], |
|
|
"antd": ["components/index.tsx"], |
|
|
"antd/es/*": ["components/*"] |
|
|
"antd/es/*": ["components/*"], |
|
|
|
|
|
"antd/lib/*": ["components/*"] |
|
|
}, |
|
|
}, |
|
|
"strictNullChecks": true, |
|
|
"strictNullChecks": true, |
|
|
"module": "esnext", |
|
|
"module": "esnext", |
|
|