summaryrefslogtreecommitdiffhomepage
path: root/src/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts
new file mode 100644
index 0000000..f28148b
--- /dev/null
+++ b/src/types.ts
@@ -0,0 +1,5 @@
+
+
+export type ImageRendering = "auto" | "crisp-edges" | "pixelated";
+export type GameType = { id: number, card_img: string, char_img: string, title_img: string, img_rendering: ImageRendering, titleSlug: string };
+export type GameCardProps = { link: string, game: GameType };