From a732f3b102335fec9665223eca3eba5df26fd6e3 Mon Sep 17 00:00:00 2001 From: Adriana Babakanian Date: Wed, 22 Apr 2020 09:42:11 -0700 Subject: [PATCH] Change return type to boolean for StyleImageInterface type alias (#9604) --- src/style/style_image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/style/style_image.js b/src/style/style_image.js index 6905a196998..6c327fa6f42 100644 --- a/src/style/style_image.js +++ b/src/style/style_image.js @@ -25,7 +25,7 @@ export type StyleImageInterface = { width: number, height: number, data: Uint8Array | Uint8ClampedArray, - render?: () => void, + render?: () => boolean, onAdd?: (map: Map, id: string) => void, onRemove?: () => void };