method KeyEvent.fromimport { KeyEvent } from "https://dotland.deno.dev/x/cliffy@v0.8.0/packages/keycode/mod.ts"; from(key: IKey): KeyEventParameterskey: IKeyReturnsKeyEvent