UNPKG

@jose_velaz/adonisjs-scheduler

Version:
4 lines (3 loc) 292 B
import type { BaseCommand } from '@adonisjs/core/ace'; import { ScheduleCommand } from './scheduler.js'; export declare function schedule(expression: string | ((s: ScheduleCommand) => ScheduleCommand), args?: string | string[], name?: string): <T extends typeof BaseCommand>(target: T) => T;