HEX
Server: nginx/1.24.0
System: Linux nowruzgan 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64
User: babak (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/dev/shahnamag/back-end/node_modules/@nestjs/core/repl/repl-function.d.ts
import { Logger } from '@nestjs/common';
import { ReplContext } from './repl-context';
import type { ReplFnDefinition } from './repl.interfaces';
export declare abstract class ReplFunction<ActionParams extends Array<unknown> = Array<unknown>, ActionReturn = any> {
    protected readonly ctx: ReplContext;
    /** Metadata that describes the built-in function itself. */
    abstract fnDefinition: ReplFnDefinition;
    protected readonly logger: Logger;
    constructor(ctx: ReplContext);
    /**
     * Method called when the function is invoked from the REPL by the user.
     */
    abstract action(...args: ActionParams): ActionReturn;
    /**
     * @returns A message displayed by calling `<fnName>.help`
     */
    makeHelpMessage(): string;
}