type: rm any (#48765)

This commit is contained in:
lijianan 2024-05-05 17:44:53 +08:00 committed by GitHub
parent 0528d9ce42
commit 313d534f2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,7 +39,7 @@ export const OverrideProvider = React.forwardRef<
);
const canRef = supportNodeRef(children);
const mergedRef = useComposeRef(ref, canRef ? (children as any).ref : null);
const mergedRef = useComposeRef(ref, canRef ? children.ref : null);
return (
<OverrideContext.Provider value={context}>