2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-09 23:00:56 +00:00

Replace typeof with full type in SVG framework exports

This commit is contained in:
Vjacheslav Trushkin 2020-08-11 20:00:59 +03:00
parent 4bdbe0b98a
commit 85ae70961b

View File

@ -186,12 +186,15 @@ export interface IconifyGlobal {
/** /**
* Get icon data * 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 * Replace IDs in icon body, should be used when parsing buildIcon() result
*/ */
replaceIDs: typeof replaceIDs; replaceIDs: (body: string, prefix?: string | (() => string)) => string;
/* Scanner */ /* Scanner */
/** /**