Skip to content

Commit

Permalink
final tslint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Aug 6, 2020
1 parent fe8df32 commit f36edb5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const EMPTY_VALUE = '';
interface Break {
color: string;
label: ReactElement<any> | string | number;
symbolId: string;
symbolId?: string;
}

interface Props {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface Props {
color: string;
isLinesOnly: boolean;
isPointsOnly: boolean;
symbolId: string;
symbolId?: string;
}

export function Category({ styleName, label, color, isLinesOnly, isPointsOnly, symbolId }: Props) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export class DynamicColorProperty extends DynamicStyleProperty<ColorDynamicOptio
renderLegendDetailRow({ isPointsOnly, isLinesOnly, symbolId }: LegendProps) {
const { stops, defaultColor } = this._getColorStops();
const breaks = [];
stops.forEach(({ stop, color }: { stop: number | null; color: string }) => {
stops.forEach(({ stop, color }: { stop: string | number | null; color: string }) => {
if (stop !== null) {
breaks.push({
color,
Expand Down

0 comments on commit f36edb5

Please sign in to comment.