Your IP : 216.73.216.220


Current Path : /home/deltalab/PMS/logistic-backend/node_modules/@nestjs/cli/lib/compiler/
Upload File :
Current File : //home/deltalab/PMS/logistic-backend/node_modules/@nestjs/cli/lib/compiler/plugins-loader.d.ts

import * as ts from 'typescript';
declare type Transformer = ts.TransformerFactory<any> | ts.CustomTransformerFactory;
declare type PluginEntry = string | PluginAndOptions;
interface PluginAndOptions {
    name: 'string';
    options: Record<string, any>;
}
export interface NestCompilerPlugin {
    before?: (options?: Record<string, any>, program?: ts.Program) => Transformer;
    after?: (options?: Record<string, any>, program?: ts.Program) => Transformer;
    afterDeclarations?: (options?: Record<string, any>, program?: ts.Program) => Transformer;
}
export interface MultiNestCompilerPlugins {
    beforeHooks: Array<(program?: ts.Program) => Transformer>;
    afterHooks: Array<(program?: ts.Program) => Transformer>;
    afterDeclarationsHooks: Array<(program?: ts.Program) => Transformer>;
}
export declare class PluginsLoader {
    load(plugins?: PluginEntry[]): MultiNestCompilerPlugins;
}
export {};