Skip to main content

Built and signed on GitHub Actions

Strictly typed EventTarget that directly extends EventTarget to function as a drop-in replacement. It works with all Event-Types and accounts for basically no additional bundle-size.

This package works with Bun, Cloudflare Workers, Node.js, Deno, Browsers
JSR Score
100%
Published
2 months ago (1.1.1)
T
TypedEventListener

A function that can be passed to the listener parameter of TypedEventTarget.addEventListener and TypedEventTarget.removeEventListener.

I
TypedEventListenerObject

An object that can be passed to the listener parameter of TypedEventTarget.addEventListener and TypedEventTarget.removeEventListener.

T
TypedEventListenerOrEventListenerObject

Type of parameter listener in TypedEventTarget.addEventListener and TypedEventTarget.removeEventListener.

c
I
TypedEventTarget
No documentation available