From 5311ed86cdc22b5b936b07a84886e3338c485c16 Mon Sep 17 00:00:00 2001 From: cooljeffro Date: Tue, 24 Aug 2021 11:40:19 -0700 Subject: [PATCH] Optional callback for i2svg --- 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 04f99e03f..5b8f257d1 100644 --- a/js-packages/@fortawesome/fontawesome-svg-core/index.d.ts +++ b/js-packages/@fortawesome/fontawesome-svg-core/index.d.ts @@ -107,7 +107,7 @@ export interface IconParams extends Params { maskId?: string; } export interface DOM { - i2svg(params?: { node: Node; callback: () => void }): Promise; + i2svg(params?: { node: Node; callback?: () => void }): Promise; css(): string; insertCss(): string; watch(): void;