Fix TypeScript warning: integet -> integer typo (#5637)

This commit is contained in:
Dan Goldin
2021-11-15 16:43:51 -05:00
committed by GitHub
parent 2e67227f1b
commit 86514207a3
2 changed files with 1 additions and 2 deletions

View File

@@ -65,7 +65,6 @@ function getDefaultFormatOptions(column: any) {
datetime: visualizationsSettings.dateTimeFormat || "DD/MM/YYYY HH:mm",
};
const numberFormat = {
// @ts-expect-error ts-migrate(2551) FIXME: Property 'integerFormat' does not exist on type '{... Remove this comment to see the full error message
integer: visualizationsSettings.integerFormat || "0,0",
float: visualizationsSettings.floatFormat || "0,0.00",
};

View File

@@ -40,7 +40,7 @@ export const visualizationsSettings = {
LinkComponent: Link,
dateFormat: "DD/MM/YYYY",
dateTimeFormat: "DD/MM/YYYY HH:mm",
integetFormat: "0,0",
integerFormat: "0,0",
floatFormat: "0,0.00",
booleanValues: ["false", "true"],
tableCellMaxJSONSize: 50000,