UNPKG

@nestjs/core

Version:

The core of NestJS, a TypeScript framework for Node.js backends: modules, dependency injection and the request pipeline, on Express, Fastify or node:http.

17 lines (16 loc) • 750 B
import type { Type } from '@nestjs/common'; import { ReplFunction } from '../repl-function.js'; import type { ReplFnDefinition } from '../repl.interfaces.js'; export declare class MethodsReplFn extends ReplFunction { fnDefinition: ReplFnDefinition; action(token: Type<unknown> | string): void; /** * A class token may stand for a provider of another class (`useClass`), a * value (`useValue`) or what a factory returns (`useFactory`), so the * methods are read from the resolved instance. The prototype of the class is * used when there is no instance to get: a class that is not registered, or * a request-scoped or transient provider. */ private getClassTokenMethodsHost; private getMethodsHost; }