Skip to content

Commit

Permalink
fix type name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmelissa87 committed Jul 8, 2020
1 parent 8559b4b commit 4daf088
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ export const useRefreshAnalyticsList = (

const DEFAULT_SIG_FIGS = 3;

interface RegressionEvaluteExtractedResponse {
interface RegressionEvaluateExtractedResponse {
mse: number | string;
msle: number | string;
huber: number | string;
Expand All @@ -432,7 +432,7 @@ interface RegressionEvaluteExtractedResponse {
export const EMPTY_STAT = '--';

export function getValuesFromResponse(response: RegressionEvaluateResponse) {
const results: RegressionEvaluteExtractedResponse = {
const results: RegressionEvaluateExtractedResponse = {
mse: EMPTY_STAT,
msle: EMPTY_STAT,
huber: EMPTY_STAT,
Expand All @@ -447,7 +447,7 @@ export function getValuesFromResponse(response: RegressionEvaluateResponse) {
if (currentStatValue) {
currentStatValue = Number(currentStatValue.toPrecision(DEFAULT_SIG_FIGS));
}
results[statType as keyof RegressionEvaluteExtractedResponse] = currentStatValue;
results[statType as keyof RegressionEvaluateExtractedResponse] = currentStatValue;
}
}
}
Expand Down

0 comments on commit 4daf088

Please sign in to comment.