Skip to content

Commit

Permalink
fix types-generation for generated icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Sieger committed Feb 17, 2023
1 parent 76a7a73 commit 8698417
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const makeIcon = (name: string, content: string) => {
const iconName = `BIcon${pascalCase(name)}`
const iconTitle = kebabName.replace(/-/g, ' ')
const svgContent = trim(content || '')
const props = omit(ICON_BASE_PROPS, ['content', 'title'])
const props = omit(ICON_BASE_PROPS, ['content', 'title'] as const)

return /* #__PURE__ */ defineComponent({
name: iconName,
Expand Down

0 comments on commit 8698417

Please sign in to comment.