import { CommandOptions } from './options'; import { ObjectLiteral } from 'typeorm'; export interface BaseCommand { $options: CommandOptions<{ [key: string]: string; }>; run( player: PlayerMp, params?: | { [key: string]: string | number | null | PlayerMp | VehicleMp; } | ObjectLiteral, ): Promise; } export class BaseCommand implements BaseCommand {}