mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 05:20:24 +08:00
Since the command property of a GridColumn can be an array of strings or string, for example:
{ command: ["edit", "destroy"], title: "kendo", width: "250px" }
{ command: "destroy", title: "kendo", width: "250px" }
The current definition is
command?: GridColumnCommandItem[];
but it should be
string|(string|GridColumnCommandItem)[];
Following documentation at https://docs.telerik.com/kendo-ui/api/jsp/grid/column-commanditem