From 9ae73f4ffcdb1ad85476760688b056cbc375de97 Mon Sep 17 00:00:00 2001 From: Bob van de Vijver <bobvandevijver@users.noreply.github.com> Date: Wed, 27 Nov 2024 17:30:23 +0100 Subject: [PATCH] Make typing intent clearer --- 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 19627d148..ecd744a63 100644 --- a/js-packages/@fortawesome/fontawesome-svg-core/index.d.ts +++ b/js-packages/@fortawesome/fontawesome-svg-core/index.d.ts @@ -121,6 +121,6 @@ export interface DOM { } type IconDefinitionOrPack = IconDefinition | IconPack; export interface Library { - add(...definitions: IconDefinitionOrPack[] | IconDefinitionOrPack[][]): void; + add(...definitions: Array<IconDefinitionOrPack | IconDefinitionOrPack[]>): void; reset(): void; }