message: chore: remove unused event helper
diff: -import { inBrowser } from '..';
  -
  -// eslint-disable-next-line import/no-mutable-exports
  -export let supportsPassive = false;
  -
  -if (inBrowser) {
  - try {
  - const opts = {};
  - Object.defineProperty(opts, 'passive', {
  - // eslint-disable-next-line getter-return
  - get() {
  - supportsPassive = true;
  - },
  - });
  - window.addEventListener('test-passive', null as any, opts);
  - // eslint-disable-next-line no-empty
  - } catch (e) {}
  -}
  -
  -export function on(
  - target: EventTarget,
  - event: string,
  - handler: EventListenerOrEventListenerObject,
  - passive = false
  -) {
  - if (inBrowser) {
  - target.addEventListener(
  - event,
  - handler,
  - supportsPassive ? { capture: false, passive } : false
  - );
  - }
  -}
  -
  -export function off(
  - target: EventTarget,
  - event: string,
  - handler: EventListenerOrEventListenerObject
  -) {
  - if (inBrowser) {
  - target.removeEventListener(event, handler);
  - }
  -}
  -
  export function stopPropagation(event: Event) {
  event.stopPropagation();
  }
  