UNPKG

@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

13 lines (12 loc) 357 B
import { Project } from 'ts-morph'; /** * Copies all files from the source project to the target project. * * The rel path is used to prefix all file path in the source project * * @param target * @param source * @param relPath * @constructor */ export declare function MergeTsMorphProject(target: Project, source: Project, relPath: string): void;