Function: validateDependency
▸ validateDependency(graph
, dependency
): void
A function to validate dependencies in a CreateDependencies function
Throws
If the dependency is invalid.
Parameters
Name | Type |
---|---|
graph | ProjectGraph |
dependency | ProjectGraphDependencyWithFile |
Returns
void