schematics-utilities
Version:
🛠️ Useful exported utilities for working with Schematics
13 lines (12 loc) • 453 B
TypeScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { Tree } from '@angular-devkit/schematics';
/**
* Whether the Angular module in the given path imports the specified module class name.
*/
export declare function hasNgModuleImport(tree: Tree, modulePath: string, className: string): boolean;