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

8 lines (7 loc) 236 B
import { SourceFile } from 'ts-morph'; import { ToValueContext } from '../to-value-context'; export interface HandleComponentModule { handleComponentModule(context: ToValueContext & { sourceFile: SourceFile; }): void; }