find-stylesheets.d.ts 707 B

12345678910111213141516
  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 { Tree } from '@angular-devkit/schematics';
  9. /**
  10. * Finds stylesheets in the given directory from within the specified tree.
  11. * @param tree Devkit tree where stylesheet files can be found in.
  12. * @param startDirectory Optional start directory where stylesheets should be searched in.
  13. * This can be useful if only stylesheets within a given folder are relevant (to avoid
  14. * unnecessary iterations).
  15. */
  16. export declare function findStylesheetFiles(tree: Tree, startDirectory?: string): string[];