@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) • 769 B
TypeScript
import { CoerceDtoClassOutput, CoerceOperationOptions as NEW_CoerceOperationOptions, TransformOperation } from '@rxap/ts-morph';
import { ClassDeclaration, SourceFile, WriterFunction } from 'ts-morph';
import { CoerceGetByIdControllerOptions } from './coerce-get-by-id-operation';
export interface CoerceGetRootOperationOptions extends CoerceGetByIdControllerOptions {
}
export declare function BuildGetRootDtoDataMapperImplementation(classDeclaration: ClassDeclaration, moduleSourceFile: SourceFile, dto: CoerceDtoClassOutput | null, options: Readonly<NEW_CoerceOperationOptions>): TransformOperation<string | WriterFunction>;
export declare function CoerceGetRootOperation(options: Readonly<CoerceGetRootOperationOptions>): import("@angular-devkit/schematics").Rule;