aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/measures.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/measures.ts')
-rw-r--r--server/sonar-web/src/main/js/helpers/measures.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/helpers/measures.ts b/server/sonar-web/src/main/js/helpers/measures.ts
index 36bdae7ed38..8f6443bb9be 100644
--- a/server/sonar-web/src/main/js/helpers/measures.ts
+++ b/server/sonar-web/src/main/js/helpers/measures.ts
@@ -93,7 +93,7 @@ function useFormatter(
}
function getFormatter(type: string): Formatter {
- const FORMATTERS: { [type: string]: Formatter } = {
+ const FORMATTERS: T.Dict<Formatter> = {
INT: intFormatter,
SHORT_INT: shortIntFormatter,
FLOAT: floatFormatter,