After updating bryntum scheduler pro from v4.0.3 to 5.2.2 few props are giving type error
using Bryntum Scheduler with React(typescript)
Below are the props which are giving errors.
filters={
"associates": [],
"activities": [],
"locations": [],
"groups": [],
"subCategories": [],
"savedFilters": {
"filtersList": []
}
},
updateEvents={updateEvents}, // getting value from a updateEvents function
updateResources={updateResources}, // getting value from a updateResources function
columnAutoWidth={false},
defaultResourceImageName={false},
eventColor={null},
eventStyle={colored},
resourceImageExtension={false},
snapToIncrement={true}
and for below lines getting an error
line1:
scheduler.current.schedulerInstance.refreshRows()
line2:
scheduler.current.schedulerInstance.clearEventSelection()
Error: "Property 'schedulerInstance' does not exist on type 'never'."
Line:
scheduler.current.resourceStore.getById(someId)
Error: Property 'resourceStore' does not exist on type 'never'.
Line:
scheduler.current.eventStore._data
Error: Property 'eventStore' does not exist on type 'BryntumScheduler'