source: trip-planner-front/node_modules/anymatch/index.d.ts@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 660 bytes
Line 
1type AnymatchFn = (testString: string) => boolean;
2type AnymatchPattern = string|RegExp|AnymatchFn;
3type AnymatchMatcher = AnymatchPattern|AnymatchPattern[]
4type AnymatchTester = {
5 (testString: string|any[], returnIndex: true): number;
6 (testString: string|any[]): boolean;
7}
8
9type PicomatchOptions = {dot: boolean};
10
11declare const anymatch: {
12 (matchers: AnymatchMatcher): AnymatchTester;
13 (matchers: AnymatchMatcher, testString: string|any[], returnIndex: true | PicomatchOptions): number;
14 (matchers: AnymatchMatcher, testString: string|any[]): boolean;
15}
16
17export {AnymatchMatcher as Matcher}
18export {AnymatchTester as Tester}
19export default anymatch
Note: See TracBrowser for help on using the repository browser.