UNPKG

392 BTypeScriptView Raw
1import { ProjectConfiguration, Tree } from '@nrwl/devkit';
2import { Schema } from '../schema';
3/**
4 * Checks whether the destination folder is valid
5 *
6 * - must not be outside the workspace
7 * - must be a new folder
8 *
9 * @param schema The options provided to the schematic
10 */
11export declare function checkDestination(tree: Tree, schema: Schema, projectConfig: ProjectConfiguration): void;