UNPKG

@rxap/schematics-ts-morph

Version:

This package provides utilities for manipulating TypeScript code using ts-morph, particularly for Angular and NestJS projects. It offers functions to add, coerce, and modify code elements like classes, methods, decorators, and imports. The package also in

12 lines 532 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FindNestModuleSourceFile = FindNestModuleSourceFile; const has_nest_module_class_1 = require("./has-nest-module-class"); /** * @deprecated import from @rxap/ts-morph */ 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