@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) • 459 B
TypeScript
import { Rule } from '@angular-devkit/schematics';
import { ControlOption } from '@rxap/utilities';
import { TsMorphAngularProjectTransformOptions } from '../ts-morph-transform';
export interface CoerceOptionsDataSourceRuleOptions extends TsMorphAngularProjectTransformOptions {
name: string;
optionList: ReadonlyArray<ControlOption>;
}
export declare function CoerceOptionsDataSourceRule(options: Readonly<CoerceOptionsDataSourceRuleOptions>): Rule;