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

14 lines (13 loc) 363 B
import { SourceFile } from 'ts-morph'; import 'colors'; export interface RemoveRouteOptions { path?: string[]; index?: number; loadRemoteModule?: string | { name: string; entry?: string; }; component?: string; name?: string; } export declare function RemoveRoute(sourceFile: SourceFile, options: RemoveRouteOptions): void;