Hello team! I cannot use GridConfig as a type because there is no stripeFeature
in it. Since frameworks use nameFeature notation, it would be nice to have all features listed in the GridConfig typings. Same for scheduler and schedulerpro. Thanks!
Testcase:
import { GridConfig, ColumnConfig } from '@bryntum/schedulerpro'
import GroupStore from '@/components/bryntum/stores/GroupStore'
const columns: Partial<ColumnConfig>[] = [
{ text: 'Groups', field: 'title' },
]
const GroupGridConfig: Partial<GridConfig> = {
store: GroupStore,
rowHeight: 20,
columns,
// region Features
stripeFeature: true,
// endregion
}
export { GroupGridConfig }
Error:
Object literal may only specify known properties, and 'stripeFeature' does not exist in type 'Partial<GridConfig>'.
P.S. I would recommend you to update your framework demos to start using types. That will help you to reveal such issues.