From 86984178001d7bc5aed661755af06db9c649cfca Mon Sep 17 00:00:00 2001 From: Adrian Sieger Date: Fri, 17 Feb 2023 11:25:20 +0100 Subject: [PATCH] fix types-generation for generated icons --- .../src/components/BIcon/helper/makeIcon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bootstrap-vue-next-icons/src/components/BIcon/helper/makeIcon.ts b/packages/bootstrap-vue-next-icons/src/components/BIcon/helper/makeIcon.ts index 4a68dc7..61ec4ce 100644 --- a/packages/bootstrap-vue-next-icons/src/components/BIcon/helper/makeIcon.ts +++ b/packages/bootstrap-vue-next-icons/src/components/BIcon/helper/makeIcon.ts @@ -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,