diff --git a/js-packages/@fortawesome/fontawesome-svg-core/index.d.ts b/js-packages/@fortawesome/fontawesome-svg-core/index.d.ts index 0d8fd8b5b..b7d99b1b1 100644 --- a/js-packages/@fortawesome/fontawesome-svg-core/index.d.ts +++ b/js-packages/@fortawesome/fontawesome-svg-core/index.d.ts @@ -100,11 +100,15 @@ export interface IconParams extends Params { symbol?: FaSymbol; mask?: IconLookup; } +export interface WatchOptions { + autoReplaceSvgRoot: HTMLElement; + observeMutationsRoot: HTMLElement; +} export interface DOM { i2svg(params?: { node: Node; callback: () => void }): Promise; css(): string; - insertCss(): string; - watch(): void; + insertCss(css: string): void; + watch(params?: WatchOptions): void; } type IconDefinitionOrPack = IconDefinition | IconPack; export interface Library {