Hello, as the title says I am creating a class, this class it for an events. I've came up with the following class, I am trying to inherit parameters from and interface given the enum value.```ts
import { ClientEvents, Events } from 'discord.js'
import client from './client'
type EventName = keyof ClientEvents
export default class Event {
name: Events
run: (client: client, ...event: ClientEvents[EventName] | any) => Promise<void>
}
This doesn't quite give the results I am looking for, I'm not even sure what I am trying to achieve is possible. I will provide an example of what the interface looks like below: