Skip to content

Commit f36edb5

Browse files
committed
final tslint fixes
1 parent fe8df32 commit f36edb5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

x-pack/plugins/maps/public/classes/styles/vector/components/legend/breaked_legend.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const EMPTY_VALUE = '';
1515
interface Break {
1616
color: string;
1717
label: ReactElement<any> | string | number;
18-
symbolId: string;
18+
symbolId?: string;
1919
}
2020

2121
interface Props {

x-pack/plugins/maps/public/classes/styles/vector/components/legend/category.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interface Props {
1515
color: string;
1616
isLinesOnly: boolean;
1717
isPointsOnly: boolean;
18-
symbolId: string;
18+
symbolId?: string;
1919
}
2020

2121
export function Category({ styleName, label, color, isLinesOnly, isPointsOnly, symbolId }: Props) {

x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_color_property.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ export class DynamicColorProperty extends DynamicStyleProperty<ColorDynamicOptio
293293
renderLegendDetailRow({ isPointsOnly, isLinesOnly, symbolId }: LegendProps) {
294294
const { stops, defaultColor } = this._getColorStops();
295295
const breaks = [];
296-
stops.forEach(({ stop, color }: { stop: number | null; color: string }) => {
296+
stops.forEach(({ stop, color }: { stop: string | number | null; color: string }) => {
297297
if (stop !== null) {
298298
breaks.push({
299299
color,

0 commit comments

Comments
 (0)