Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kristw committed May 31, 2019
1 parent 80b2227 commit ad4a3c4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,11 @@ function getScaleTypeCategory(scaleType: ScaleType) {
if (discreteScaleTypes.has(scaleType)) {
return 'discrete';
}
if (discretizingScaleTypes.has(scaleType)) {
return 'discretizing';
}

return 'discretizing';
throw new Error(`Unknown scaleType ${scaleType}`);
}

export default function extractScale<Output extends Value>(
Expand Down

0 comments on commit ad4a3c4

Please sign in to comment.