Initial commit - Event Planner application
This commit is contained in:
18
node_modules/@nestjs/core/repl/repl-function.d.ts
generated
vendored
Normal file
18
node_modules/@nestjs/core/repl/repl-function.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user