method WriteStream.prototype.on Usage in Deno```typescript import { WriteStream } from "node:node__tty.d.ts"; ``` WriteStream.prototype.on(event: string,listener: (...args: any[]) => void,): this Parameters event: string listener: (...args: any[]) => void Return Type this WriteStream.prototype.on(event: "resize",listener: () => void,): this Parameters event: "resize" listener: () => void Return Type this