build(ci): 修复构建问题。
Some checks failed
🚀 Build and deploy by ftp / 🎉 Deploy (push) Failing after 3m19s

This commit is contained in:
Ivan Li 2023-09-10 11:58:12 +00:00
parent dc0969d175
commit ec61c5bb9f

View File

@ -1,5 +1,8 @@
import { Attributes } from 'react';
const Image = ({ ...rest }: Attributes) => <img {...rest} />;
const Image = ({
...rest
}: React.DetailedHTMLProps<
React.ImgHTMLAttributes<HTMLImageElement>,
HTMLImageElement
>) => <img {...rest} />;
export default Image;