I'm trying to add a toolbar template to my grid. If I add the toolbar in a normal js file it works fine but when trying to add this in typescript file it throws an error. It says the type is incompatible. I'm very new to typescript and not sure how to fix it.
grid = $("#grid").kendoGrid({ dataSource: { data: data, pageSize: 10 }, toolbar: Handlebars.compile($('#gridSearch').html()), columns: [ ...