@nrwl/workspace
Version:
12 lines (11 loc) • 392 B
TypeScript
import { ProjectConfiguration, Tree } from '@nrwl/devkit';
import { Schema } from '../schema';
/**
* Checks whether the destination folder is valid
*
* - must not be outside the workspace
* - must be a new folder
*
* @param schema The options provided to the schematic
*/
export declare function checkDestination(tree: Tree, schema: Schema, projectConfig: ProjectConfiguration): void;