Skip to content

Commit 0aeecc2

Browse files
authored
Merge pull request #42 from Alucelx/master
add a override of teststring is null
2 parents 02e8eed + 097bf06 commit 0aeecc2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ type PicomatchOptions = {dot: boolean};
1010

1111
declare const anymatch: {
1212
(matchers: AnymatchMatcher): AnymatchTester;
13+
(matchers: AnymatchMatcher, testString: null, returnIndex: true | PicomatchOptions): AnymatchTester;
1314
(matchers: AnymatchMatcher, testString: string|any[], returnIndex: true | PicomatchOptions): number;
1415
(matchers: AnymatchMatcher, testString: string|any[]): boolean;
1516
}

0 commit comments

Comments
 (0)