Add Counter to addLayerCallback argument types

This commit is contained in:
Giovanni Lovato 2019-10-04 09:18:44 +02:00 committed by GitHub
parent 1c1b102b2b
commit ea74d76d77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ export function toHtml(content: any): string;
export function toHtml(abstractNodes: AbstractElement): string;
export function layer(
assembler: (
addLayerCallback: (layerToAdd: IconOrText | IconOrText[]) => void
addLayerCallback: (layerToAdd: Counter | IconOrText | IconOrText[]) => void
) => void
): Layer;
export function icon(icon: IconName | IconLookup, params?: IconParams): Icon;