get-project.d.ts 533 B

12345678910111213
  1. /**
  2. * @license
  3. * Copyright Google LLC All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.dev/license
  7. */
  8. import { workspaces } from '@angular-devkit/core';
  9. /**
  10. * Finds the specified project configuration in the workspace. Throws an error if the project
  11. * couldn't be found.
  12. */
  13. export declare function getProjectFromWorkspace(workspace: workspaces.WorkspaceDefinition, projectName: string | undefined): workspaces.ProjectDefinition;