Skip to content

Commit

Permalink
Add typing
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga committed Nov 29, 2023
1 parent f791835 commit 62fc0cc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import '@amsterdam/design-system-css/src/icon/icon.scss'

export const AmsterdamIconGallery = () => (
<IconGallery>
{Object.keys(Icons).map((key) => {
// @ts-ignore-line
{(Object.keys(Icons) as Array<keyof typeof Icons>).map((key) => {
const CurrentComponent = Icons[key]
const name = key.substring(0, key.length - 4)

Expand Down

0 comments on commit 62fc0cc

Please sign in to comment.