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

9 lines 482 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FindNestModuleSourceFile = FindNestModuleSourceFile; const has_nest_module_class_1 = require("./has-nest-module-class"); function FindNestModuleSourceFile(project, directory) { return project.getSourceFile(file => (!directory || file.getDirectoryPath() === directory) && (0, has_nest_module_class_1.HasNestModuleClass)(file)); } //# sourceMappingURL=find-nest-module-source-file.js.map