imajin/node_modules/@nestjs/cli/lib/compiler/plugins/plugin-metadata-printer.d.ts
2026-01-10 04:52:11 -08:00

17 lines
681 B
TypeScript

import * as ts from 'typescript';
import { DeepPluginMeta } from '../interfaces/readonly-visitor.interface';
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 {};