@yandex/themekit
Version:
Build system of design-tokens for any platforms
10 lines (9 loc) • 318 B
TypeScript
import { Pattern } from 'fast-glob';
/**
* Returns list of matched files by glob with normalized paths.
*
* @param pattern - Path with glob pattern.
* @param exclude - Path for ignore.
* @returns List of matched files.
*/
export declare function glob(pattern: Pattern | Pattern[], exclude?: string[]): string[];