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.

9 lines (8 loc) • 297 B
import { Module } from '../injector/module.js'; /** * Calls the `onModuleDestroy` function on the module and its children * (providers / controllers). * * @param moduleRef The module which will be initialized */ export declare function callModuleDestroyHook(moduleRef: Module): Promise<any>;