From 0ff72beea9b70a7fa54b247e22d1846be12f7792 Mon Sep 17 00:00:00 2001 From: Flexmonster Date: Mon, 25 Mar 2019 10:45:07 +0200 Subject: [PATCH] Fix customData & sortingMethod --- types/flexmonster/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/flexmonster/index.d.ts b/types/flexmonster/index.d.ts index 6d92a20ddc..dbf42871dd 100644 --- a/types/flexmonster/index.d.ts +++ b/types/flexmonster/index.d.ts @@ -130,7 +130,7 @@ declare namespace Flexmonster { showCharts(type?: string, multiple?: boolean): void; showGrid(): void; showGridAndCharts(type?: string, position?: string, multiple?: boolean): void; - sortingMethod(hierarchyName: string, compareFunction: (a: string, b: string) => boolean): void; + sortingMethod(hierarchyName: string, compareFunction: (a: string, b: string) => number): void; sortValues(axisName: string, type: string, tuple: number[], measure: MeasureObject): void; toolbar: Toolbar; updateData(object: DataSource | object[]): void; @@ -186,7 +186,7 @@ declare namespace Flexmonster { roles?: string; localeIdentifier?: string; effectiveUserName?: string; - customData?: string; + customData?: object; hash?: string; username?: string; password?: string;