What a listener receives: the payload, plus the framework's own fields.
Kept as an intersection because fire merges them into one object — that
is what a handler gets. As a side effect it also fixes the type
clobbering at the type level: intersecting type: "loaded" with
type?: string yields "loaded".
What a listener receives: the payload, plus the framework's own fields.
Kept as an intersection because
firemerges them into one object — that is what a handler gets. As a side effect it also fixes thetypeclobbering at the type level: intersectingtype: "loaded"withtype?: stringyields"loaded".