fix: adds type definition for color on LegendPayload

This commit is contained in:
Nathan Mackinnon
2018-11-30 13:01:21 +11:00
parent d2123ba252
commit f68c66518b
+1
View File
@@ -363,6 +363,7 @@ export interface LegendPayload {
value: any;
id: any;
type: LegendType;
color?: string;
}
export type BBoxUpdateCallback = (box: { width: number; height: number; }) => void;