Revert "fix: try another fix for StaticImageData"
This reverts commit 1bf1cf9c83
.
This commit is contained in:
parent
1bf1cf9c83
commit
0d84c26e08
|
@ -10,24 +10,17 @@ import twitterImg from "../../public/screenshots/twitter.png";
|
||||||
import { Card } from "../web/common/Card";
|
import { Card } from "../web/common/Card";
|
||||||
import { Layout } from "../web/common/Layout";
|
import { Layout } from "../web/common/Layout";
|
||||||
|
|
||||||
/*
|
|
||||||
type StaticImageData = {
|
type StaticImageData = {
|
||||||
src: string;
|
src: string;
|
||||||
height: number;
|
height: number;
|
||||||
width: number;
|
width: number;
|
||||||
placeholder?: string;
|
placeholder?: string;
|
||||||
};
|
};
|
||||||
*/
|
|
||||||
|
|
||||||
type AnyTool = {
|
type AnyTool = {
|
||||||
title: string;
|
title: string;
|
||||||
description: string;
|
description: string;
|
||||||
img?: {
|
img?: StaticImageData;
|
||||||
src: string;
|
|
||||||
height: number;
|
|
||||||
width: number;
|
|
||||||
placeholder?: string;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
type InnerTool = AnyTool & { innerLink: string };
|
type InnerTool = AnyTool & { innerLink: string };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user