@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.
13 lines (12 loc) • 615 B
TypeScript
import { InjectionToken } from '@nestjs/common';
import { InstanceWrapper } from '../instance-wrapper';
/**
* Returns the instances which are transient
* @param instances The instances which should be checked whether they are transient
*/
export declare function getTransientInstances(instances: [InjectionToken, InstanceWrapper][]): InstanceWrapper[];
/**
* Returns the instances which are not transient
* @param instances The instances which should be checked whether they are transient
*/
export declare function getNonTransientInstances(instances: [InjectionToken, InstanceWrapper][]): InstanceWrapper[];