method Event.prototype.setTypeimport { Event } from "https://deno.land/x/remapper@3.1.2/src/basicEvent.ts"; setType(type: number)Iniitialize an event from a type. Parameterstype: numberThe type of the event.