@nrwl/workspace
Version:
11 lines (10 loc) • 396 B
TypeScript
import { Tree } from '@nrwl/devkit';
import { Schema } from '../schema';
/**
* Check whether the project to be removed has builders targetted by another project
*
* Throws an error if the project is in use, unless the `--forceRemove` option is used.
*
* @param schema The options provided to the schematic
*/
export declare function checkTargets(tree: Tree, schema: Schema): Promise<void>;