packages/miniapp-runtime/src/interface/event-target.ts (10 lines of code) (raw):

export interface EventListenerOptions { capture?: boolean; } export interface AddEventListenerOptions extends EventListenerOptions { once?: boolean; passive?: boolean; } export interface EventHandler extends Function { _stop?: boolean; }