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

7 lines (6 loc) 361 B
import { ArrayLiteralExpression } from 'ts-morph'; import { NestProviderObject } from './nest-provider-object'; /** * @deprecated import from @rxap/ts-morph as CoerceNestProviderToArray */ export declare function AddNestProviderToArray(providerObject: NestProviderObject | string, providerArray: ArrayLiteralExpression, overwrite?: boolean | string[]): void;