From 6c62104abf7a7e9cd6ff1192d2e0e98b4ab9d2e3 Mon Sep 17 00:00:00 2001 From: Hansel Date: Tue, 10 Aug 2021 21:08:37 -0400 Subject: [PATCH] TS support for custom icons --- js-packages/@fortawesome/fontawesome-common-types/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js-packages/@fortawesome/fontawesome-common-types/index.d.ts b/js-packages/@fortawesome/fontawesome-common-types/index.d.ts index e801ba709..d23c13d61 100644 --- a/js-packages/@fortawesome/fontawesome-common-types/index.d.ts +++ b/js-packages/@fortawesome/fontawesome-common-types/index.d.ts @@ -1,4 +1,4 @@ -export type IconPrefix = "fas" | "fab" | "far" | "fal" | "fad"; +export type IconPrefix = "fas" | "fab" | "far" | "fal" | "fad" | string; export type IconPathData = string | string[] export interface IconLookup { @@ -1631,4 +1631,5 @@ export type IconName = '500px' | 'wrench' | 'x-ray' | 'yen-sign' | - 'yin-yang'; + 'yin-yang' | + string;