mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-18 16:05:33 -04:00
clean up strict types a bit more
This commit is contained in:
@@ -64,8 +64,7 @@ const Image = ({
|
||||
throw new TypeError("'src' should be a string or a valid StaticImageData object.");
|
||||
}
|
||||
|
||||
// @ts-ignore
|
||||
const img = <RoundedImage {...imageProps} />;
|
||||
const img = <RoundedImage {...(imageProps as NextImageProps)} />;
|
||||
|
||||
return (
|
||||
<Wrapper>
|
||||
|
Reference in New Issue
Block a user