UNPKG

@rxap/ts-morph

Version:

Provides utilities for manipulating TypeScript code using the ts-morph library. It offers a fluent API to add, modify, and remove code elements such as classes, decorators, imports, and properties in both Angular and NestJS projects. This package simplifi

10 lines (9 loc) 487 B
import { ImportDeclarationStructure, OptionalKind, SourceFile } from 'ts-morph'; import { NestProviderObject } from './nest-provider-object'; export interface CoerceNestModuleProviderOptions { providerObject: NestProviderObject | string; moduleSpecifier?: string; structures?: Array<OptionalKind<ImportDeclarationStructure>>; overwrite?: boolean; } export declare function CoerceNestModuleProvider(sourceFile: SourceFile, options: CoerceNestModuleProviderOptions): void;