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

9 lines (8 loc) 290 B
import { Tree } from '@angular-devkit/schematics'; export interface HasComponentOptions { project: string; feature?: string | null; name: string; directory?: string | null; } export declare function HasComponent(host: Tree, options: Readonly<HasComponentOptions>): boolean;