@rxap/schematics-ts-morph
Version:
This package provides utilities for manipulating TypeScript code using ts-morph, particularly for Angular and NestJS projects. It offers functions to add, coerce, and modify code elements like classes, methods, decorators, and imports. The package also in
8 lines (7 loc) • 367 B
TypeScript
import { Rule } from '@angular-devkit/schematics';
import { TsMorphNestProjectTransformOptions } from '../ts-morph-transform';
export interface AddNestModuleToAppModuleOptions extends TsMorphNestProjectTransformOptions {
name: string;
appModulePath?: string;
}
export declare function AddNestModuleToAppModule(options: AddNestModuleToAppModuleOptions): Rule;