PHP 8.2.30
Preview: index.d.ts Size: 763 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/anymatch/index.d.ts

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

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
763 B lrw-r--r-- 2026-02-03 15:06:46
Edit Download
3.11 KB lrw-r--r-- 2026-02-03 15:06:44
Edit Download
784 B lrw-r--r-- 2026-02-03 15:06:44
Edit Download
904 B lrw-r--r-- 2026-02-03 15:06:46
Edit Download
3.93 KB lrw-r--r-- 2026-02-03 15:06:46
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).