Browse Source

chore: update type resoving when importing from `ant/lib/*` (#37941)

pull/37955/head
Zheeeng 2 years ago
committed by GitHub
parent
commit
c96da09227
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      tsconfig.json

3
tsconfig.json

@ -3,7 +3,8 @@
"baseUrl": "./",
"paths": {
"antd": ["components/index.tsx"],
"antd/es/*": ["components/*"]
"antd/es/*": ["components/*"],
"antd/lib/*": ["components/*"]
},
"strictNullChecks": true,
"module": "esnext",

Loading…
Cancel
Save