import type { CommandOptions } from "./command"; import { Command } from "./command"; export class LInsertCommand extends Command { constructor( cmd: [key: string, direction: "before" | "after", pivot: TData, value: TData], opts?: CommandOptions ) { super(["linsert", ...cmd], opts); } }