Mirror: 🎩 A tiny but capable push & pull stream library for TypeScript and Flow

Fix TS typings for fromDomEvent (#18)

Changed files
+1 -1
src
+1 -1
src/web/wonka_source_fromDomEvent.d.ts
···
import { Source } from '../wonka_types';
-
export const fromDomEvent: <E>(HTMLElement, string) => Source<E>;
+
export const fromDomEvent: <E>(element: HTMLElement, event: string) => Source<E>;