@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
11 lines (10 loc) • 355 B
TypeScript
import { WriterFunction } from 'ts-morph';
export interface NestProviderObject {
provide: string | WriterFunction;
useClass?: string | WriterFunction;
scope?: '0' | '1' | '2';
useFactory?: string | WriterFunction;
inject?: string[] | WriterFunction;
useExisting?: string | WriterFunction;
useValue?: string | WriterFunction;
}