UNPKG

387 BTypeScriptView Raw
1import { Tree } from '@nrwl/devkit';
2import { Schema } from '../schema';
3/**
4 * Check whether the project to be removed has builders targetted by another project
5 *
6 * Throws an error if the project is in use, unless the `--forceRemove` option is used.
7 *
8 * @param schema The options provided to the schematic
9 */
10export declare function checkTargets(tree: Tree, schema: Schema): void;