Never mind. I had to do this:
class CustomDayLayout extends DayLayout {
static get type() {
return 'custom'
}
}
// https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#function-initClass-static
CustomDayLayout.initClass()
...and then I can just use:
eventLayout: { "type": "custom" }