Skip to content
This repository has been archived by the owner on Dec 10, 2021. 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 a747ea4 commit 3cb3b8e
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 3cb3b8e

Please sign in to comment.