@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
12 lines (11 loc) • 565 B
TypeScript
import { TypeImport, TypeName } from '@rxap/ts-morph';
import { CoerceDtoClassOptions } from '@rxap/ts-morph';
export interface CoerceRowDtoClassOptions extends CoerceDtoClassOptions {
/**
* the type of the property used as row id type. defaults to the type 'string'. If null the type will be
* set to number
*/
rowIdType?: TypeImport | TypeName;
}
export declare function BuildRowDtoClassName(name: string): string;
export declare function CoerceRowDtoClass(options: CoerceRowDtoClassOptions): import("@rxap/ts-morph").CoerceDtoClassOutput;