From 4ee9fdccb5fefa08ab434d18a1942399fba42154 Mon Sep 17 00:00:00 2001 From: "aleksandr.shtifanov" Date: Thu, 14 Feb 2019 10:21:12 +0100 Subject: [PATCH] correct wrong return types by some methods/properties. --- types/devexpress-web/index.d.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/types/devexpress-web/index.d.ts b/types/devexpress-web/index.d.ts index 972db72a2f..87a8786aa7 100644 --- a/types/devexpress-web/index.d.ts +++ b/types/devexpress-web/index.d.ts @@ -34356,7 +34356,7 @@ interface ASPxDesignerNavigateTab { * Provides access to a report opened in the current tab. * Value: A knockout observable object that specifies a report opened in the current tab. */ - report: any; + report: KnockoutObservable; /** * Provides access to an engine that manages undo and redo operations in the Web Report Designer. * Value: An object that specifies an undo/redo engine. @@ -34889,6 +34889,9 @@ interface ASPxClientMenuAction { * Value: A string that specifies the name of the CSS class. */ imageClassName: string; + /** + * Knockout template, where you can specify a required SVG icon and write logic to color it. + */ imageTemplateName: string; /** * Provides access to the action performed when a button is clicked. @@ -34897,9 +34900,8 @@ interface ASPxClientMenuAction { clickAction: Function; /** * Provides access to the value that specifies whether or not the command is disabled by default. - * Value: true, if the command is disabled by default; otherwise, false. */ - disabled: boolean; + disabled: KnockoutObservable; /** * Provides access to the value that specifies whether or not the command is visible in the user interface. * Value: true if the command is visible; otherwise false. @@ -38912,4 +38914,4 @@ declare var ASPxClientReportDocumentMap: ASPxClientReportDocumentMapStatic; declare var ASPxClientReportParametersPanel: ASPxClientReportParametersPanelStatic; declare var ASPxClientReportToolbar: ASPxClientReportToolbarStatic; declare var ASPxClientReportViewer: ASPxClientReportViewerStatic; -declare var ASPxClientWebDocumentViewer: ASPxClientWebDocumentViewerStatic; +declare var ASPxClientWebDocumentViewer: ASPxClientWebDocumentViewerStatic; \ No newline at end of file