From 9c970c054608d82e9f5dbbe702e5a5e8703ec3ae Mon Sep 17 00:00:00 2001 From: pheralb Date: Mon, 25 Aug 2025 19:07:15 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Fix=20type=20assertion=20f?= =?UTF-8?q?or=20svgsData=20to=20ensure=20correct=20typing=20as=20iSVG[]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/data/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/index.ts b/src/data/index.ts index de86623..0d0ee8f 100644 --- a/src/data/index.ts +++ b/src/data/index.ts @@ -3,7 +3,7 @@ import { svgs } from "./svgs"; export const svgsData = svgs.map((svg: iSVG, index: number) => { return { id: index, ...svg }; -}); +}) as iSVG[]; export const getCategories = () => { const categories = svgs