type: update any type to Record (#52240)

This commit is contained in:
lijianan 2025-01-05 15:40:43 +08:00 committed by GitHub
parent 46eca8dc63
commit 968820a546
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@ describe('antd dist files', () => {
// https://github.com/ant-design/ant-design/issues/1638
// https://github.com/ant-design/ant-design/issues/1968
it('exports modules correctly', () => {
let antd: any;
let antd: Record<PropertyKey, any> = {};
if (testDist) {
antd = require('../dist/antd');
} else if (testDistMin) {