method EventEmitter.prototype.onimport { EventEmitter } from "https://deno.land/x/nunjucks@3.2.3/src/deps.js"; on(eventName: string | symbol,listener: Function,prepend?: boolean,): thisParameterseventName: string | symbollistener: Functionoptionalprepend: booleanReturnsthis