Declare the map of events a module emits to the renderer, purely for typing.
Returns an empty object typed as TEvents; it carries no runtime value. The
Rollup bridge plugin reads the TEvents type argument to generate typed
on* / once* listeners in the preload bridge.
Declare the map of events a module emits to the renderer, purely for typing.
Returns an empty object typed as
TEvents; it carries no runtime value. The Rollup bridge plugin reads theTEventstype argument to generate typedon*/once*listeners in the preload bridge.