UNPKG

@weverson_na/prisma-generator-nestjs-dto

Version:

Advanced Prisma Generator with Smart Merge v2: Creates DTO and Entity classes with AST-based preservation, intelligent import management, and modular architecture for NestJS

8 lines (7 loc) 378 B
import type { SourceFile, ImportDeclaration } from 'ts-morph'; export declare class ImportMerger { ensureImportsFromDeclaration(file: SourceFile, imp: ImportDeclaration): void; ensureImport(file: SourceFile, named: string, moduleSpecifier: string): void; removeImport(file: SourceFile, named: string, moduleSpecifier: string): void; private isImportStillUsed; }