callbag-from-event
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "callbag-from-event", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Create a callbag listenable source from events on a DOM node", | ||
@@ -5,0 +5,0 @@ "repository": { |
import { Source } from 'callbag' | ||
export default function fromEvent<T extends Event = Event>( | ||
export default function fromEvent<T extends keyof HTMLElementEventMap>( | ||
node: EventTarget, | ||
name: string, | ||
name: T, | ||
options?: boolean | AddEventListenerOptions | ||
): Source<T>; | ||
): Source<HTMLElementEventMap[T]>; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8804