Kargi-Sitesi/node_modules/@schematics/angular/migrations/use-application-builder/css-import-lexer.d.ts

20 lines
634 B
TypeScript
Raw Normal View History

2024-11-03 21:30:09 -05:00
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/**
* Scans a CSS or Sass file and locates all valid import/use directive values as defined by the
* syntax specification.
* @param contents A string containing a CSS or Sass file to scan.
* @returns An iterable that yields each CSS directive value found.
*/
export declare function findImports(contents: string, sass: boolean): Iterable<{
start: number;
end: number;
specifier: string;
fromUse?: boolean;
}>;