My current challenge involves extending an existing interface within KendoUI that originates from a specific definition file. Typically, using interface merging makes this task simple, but the interface I want to extend exists in the unique global namespace "kendo.ui".
I am attempting to include the "hideInEditor" property to the kendo.ui.GridColumn interface as follows.
namespace kendo.ui {
export interface GridColumn {
hideInEditor?: boolean;
}
}
However, it appears that the compiler has overlooked the original definitions, resulting in the inability to access the kendo namespace and all corresponding types have gone missing. It seems my approach is incorrect. What would be the correct method to extend such an interface?