1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-18 16:05:33 -04:00

finally fix slow typescript compilation!

see https://github.com/stitchesjs/stitches/issues/1038
This commit is contained in:
2022-06-13 06:47:29 -04:00
parent cef74d4e97
commit 1776173cab
22 changed files with 104 additions and 101 deletions

View File

@@ -20,10 +20,9 @@ const RoundedImage = styled(NextImage, {
borderRadius: "$rounded",
});
export type ImageProps = NextImageProps &
ComponentProps<typeof RoundedImage> & {
href?: string; // optionally wrap image in a link
};
export type ImageProps = ComponentProps<typeof RoundedImage> & {
href?: string; // optionally wrap image in a link
};
const Image = ({
src,