From c96da09227f443d16e7f72d5437fcd59cd925908 Mon Sep 17 00:00:00 2001 From: Zheeeng Date: Tue, 11 Oct 2022 15:47:03 +0800 Subject: [PATCH] chore: update type resoving when importing from `ant/lib/*` (#37941) --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index fe9bac33fc..60b292d2bf 100644 --- a/tsconfig.json +++ b/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",