From 62fc0ccfeb21c5976114224670eb6cbe6f7cf160 Mon Sep 17 00:00:00 2001 From: Vincent Smedinga Date: Wed, 29 Nov 2023 12:45:11 +0100 Subject: [PATCH] Add typing --- .../storybook-docs/src/components/AmsterdamIconGallery.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/storybook/storybook-docs/src/components/AmsterdamIconGallery.tsx b/storybook/storybook-docs/src/components/AmsterdamIconGallery.tsx index 057c66ba63..7fea6a8f82 100644 --- a/storybook/storybook-docs/src/components/AmsterdamIconGallery.tsx +++ b/storybook/storybook-docs/src/components/AmsterdamIconGallery.tsx @@ -5,8 +5,7 @@ import '@amsterdam/design-system-css/src/icon/icon.scss' export const AmsterdamIconGallery = () => ( - {Object.keys(Icons).map((key) => { - // @ts-ignore-line + {(Object.keys(Icons) as Array).map((key) => { const CurrentComponent = Icons[key] const name = key.substring(0, key.length - 4)