diff --git a/packages/iconify/src/common.ts b/packages/iconify/src/common.ts index 0f5bcfe..7c4be1c 100644 --- a/packages/iconify/src/common.ts +++ b/packages/iconify/src/common.ts @@ -186,12 +186,15 @@ export interface IconifyGlobal { /** * Get icon data */ - renderIcon: typeof buildIcon; + renderIcon: ( + name: string, + customisations: IconifyIconCustomisations + ) => IconifyIconBuildResult | null; /** * Replace IDs in icon body, should be used when parsing buildIcon() result */ - replaceIDs: typeof replaceIDs; + replaceIDs: (body: string, prefix?: string | (() => string)) => string; /* Scanner */ /**