Optional callback for i2svg

This commit is contained in:
cooljeffro 2021-08-24 11:40:19 -07:00 committed by GitHub
parent 7d3d774145
commit 5311ed86cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ export interface IconParams extends Params {
maskId?: string;
}
export interface DOM {
i2svg(params?: { node: Node; callback: () => void }): Promise<void>;
i2svg(params?: { node: Node; callback?: () => void }): Promise<void>;
css(): string;
insertCss(): string;
watch(): void;