test: update any type with React.ReactElement (#55410)

This commit is contained in:
lijianan
2025-10-23 08:09:15 +08:00
committed by GitHub
parent 5fe4cff30d
commit f187eeafb3

View File

@@ -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: