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)