From cd87bfabe87159f3d5029e5604ec01c9176ab913 Mon Sep 17 00:00:00 2001 From: Shawn Clabough Date: Wed, 30 May 2018 11:38:58 -0700 Subject: [PATCH] Update index.d.ts (kendo-ui toolbar) For the grid, a toolbar can be either a string, a function, or an array of either string or GridToolBarItems. Some standard toolbar items are pre-defined as strings (i.e. "Create", "Delete"). --- types/kendo-ui/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/kendo-ui/index.d.ts b/types/kendo-ui/index.d.ts index e734f52cfa..95e279ea7d 100644 --- a/types/kendo-ui/index.d.ts +++ b/types/kendo-ui/index.d.ts @@ -4311,7 +4311,7 @@ declare namespace kendo.ui { scrollable?: boolean | GridScrollable; selectable?: boolean|string; sortable?: boolean | GridSortable; - toolbar?: GridToolbarItem[]; + toolbar?: string|Function|(string|GridToolbarItem)[]; beforeEdit?(e: GridBeforeEditEvent): void; cancel?(e: GridCancelEvent): void; cellClose?(e: GridCellCloseEvent): void;