import { Svelte2TsxComponent } from "https://deno.land/x/snel@v0.7.1/core/internals/types.d.ts";
Causes the callback function to be called whenever the component dispatches an event. A function is returned that will remove the event listener when called.