Skip to content

Commit

Permalink
Change return type to boolean for StyleImageInterface type alias (#9604)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianababakanian authored Apr 22, 2020
1 parent 9f63260 commit a732f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/style/style_image.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down

0 comments on commit a732f3b

Please sign in to comment.