From fa52623c27a7d577f5553b2c890dc930c481a8e8 Mon Sep 17 00:00:00 2001 From: Markus Sanin <markus.sanin@zeppelin-group.com> Date: Sat, 8 Feb 2025 19:09:42 +0100 Subject: [PATCH] Fix `parse.icon` definition --- js-packages/@fortawesome/fontawesome-svg-core/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js-packages/@fortawesome/fontawesome-svg-core/index.d.ts b/js-packages/@fortawesome/fontawesome-svg-core/index.d.ts index ecd744a63..7589958b8 100644 --- a/js-packages/@fortawesome/fontawesome-svg-core/index.d.ts +++ b/js-packages/@fortawesome/fontawesome-svg-core/index.d.ts @@ -2,7 +2,7 @@ import {IconDefinition, IconLookup, IconName, IconFamily, IconPrefix, CssStyleCl export {IconDefinition, IconLookup, IconName, IconFamily, IconPrefix, CssStyleClass, IconStyle, IconPathData, IconPack} from '@fortawesome/fontawesome-common-types'; export const dom: DOM; export const library: Library; -export const parse: { transform(transformString: string): Transform, icon(parseIconString: string): IconLookup }; +export const parse: { transform(transformString: string): Transform, icon(parseIconString: string | { prefix: IconPrefix, iconName: IconName } | [string | IconPrefix, string | IconName]): IconLookup }; export const config: Config; export function noAuto():void; export function findIconDefinition(iconLookup: IconLookup): IconDefinition;