/
1Rrd0
/
Course
Обзор
Документация
Войти
/
1Rrd0
/
Course
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
node_modules/anymatch/index.d.ts
20 строк
763 B
dima
2
13 дек 2025, 10:58
13 дек 2025, 10:58
ce5a48e
Код
Авторство
О чём код?
type AnymatchFn = (testString: string) => boolean; type AnymatchPattern = string|RegExp|AnymatchFn; type AnymatchMatcher = AnymatchPattern|AnymatchPattern[] type AnymatchTester = { (testString: string|any[], returnIndex: true): number; (testString: string|any[]): boolean; } type PicomatchOptions = {dot: boolean}; declare const anymatch: { (matchers: AnymatchMatcher): AnymatchTester; (matchers: AnymatchMatcher, testString: null, returnIndex: true | PicomatchOptions): AnymatchTester; (matchers: AnymatchMatcher, testString: string|any[], returnIndex: true | PicomatchOptions): number; (matchers: AnymatchMatcher, testString: string|any[]): boolean; } export {AnymatchMatcher as Matcher} export {AnymatchTester as Tester} export default anymatch