We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 02e8eed + 097bf06 commit 0aeecc2Copy full SHA for 0aeecc2
index.d.ts
@@ -10,6 +10,7 @@ type PicomatchOptions = {dot: boolean};
10
11
declare const anymatch: {
12
(matchers: AnymatchMatcher): AnymatchTester;
13
+ (matchers: AnymatchMatcher, testString: null, returnIndex: true | PicomatchOptions): AnymatchTester;
14
(matchers: AnymatchMatcher, testString: string|any[], returnIndex: true | PicomatchOptions): number;
15
(matchers: AnymatchMatcher, testString: string|any[]): boolean;
16
}
0 commit comments