diff --git a/packages/lucide/src/lucide.ts b/packages/lucide/src/lucide.ts index fc968412c..0744399e1 100644 --- a/packages/lucide/src/lucide.ts +++ b/packages/lucide/src/lucide.ts @@ -20,7 +20,7 @@ const createIcons = ({ attrs = {}, root = document, inTemplates, -}: CreateIconsOptions) => { +}: CreateIconsOptions = {}) => { if (!Object.values(icons).length) { throw new Error( "Please provide an icons object.\nIf you want to use all the icons you can import it like:\n `import { createIcons, icons } from 'lucide';\nlucide.createIcons({icons});`",