UNPKG

@nestjs/cli

Version:

The Nest CLI: create NestJS applications, generate modules, controllers and CRUD resources, and build, run and watch projects and monorepos.

18 lines (17 loc) • 684 B
import * as ts from 'typescript'; import { DeepPluginMeta } from '../interfaces/readonly-visitor.interface.js'; export interface PluginMetadataPrintOptions { outputDir: string; filename?: string; } type ComposedPluginMeta = Record<string, Record<string, Array<[ts.CallExpression, DeepPluginMeta]>>>; /** * Prints the metadata to a file. */ export declare class PluginMetadataPrinter { print(metadata: ComposedPluginMeta, typeImports: Record<string, string>, options: PluginMetadataPrintOptions, tsBinary: typeof ts): void; private recursivelyCreatePropertyAssignment; private createTypeImportVariableStatement; private createPropertyAssignment; } export {};