mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
test: update any type with React.ReactElement (#55410)
This commit is contained in:
@@ -305,7 +305,7 @@ export function imageDemoTest(component: string, options: Options = {}) {
|
||||
(file) => !file.includes('_semantic'),
|
||||
);
|
||||
|
||||
const mobileDemos: [file: string, node: any][] = [];
|
||||
const mobileDemos: [file: string, node: React.ReactElement<any>][] = [];
|
||||
|
||||
const getTestOption = (file: string) => ({
|
||||
onlyViewport:
|
||||
|
||||
Reference in New Issue
Block a user