@rxap/ts-morph
Version:
Provides utilities for manipulating TypeScript code using the ts-morph library. It offers a fluent API to add, modify, and remove code elements such as classes, decorators, imports, and properties in both Angular and NestJS projects. This package simplifi
9 lines (8 loc) • 401 B
TypeScript
import { ImportDeclarationStructure, OptionalKind, SourceFile } from 'ts-morph';
export interface CoerceNestModuleControllerOptions {
name: string;
structures?: Array<OptionalKind<ImportDeclarationStructure>>;
overwrite?: boolean;
moduleSpecifier?: string;
}
export declare function CoerceNestModuleController(sourceFile: SourceFile, options: CoerceNestModuleControllerOptions): void;