Skip to content

Commit e0ec3c0

Browse files
committed
Release 3.1.1.
1 parent abfaed6 commit e0ec3c0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ type AnymatchTester = {
66
(testString: string|any[]): boolean;
77
}
88

9+
type PicomatchOptions = {dot: boolean};
10+
911
declare const anymatch: {
1012
(matchers: AnymatchMatcher): AnymatchTester;
11-
(matchers: AnymatchMatcher, testString: string|any[], returnIndex: true): number;
13+
(matchers: AnymatchMatcher, testString: string|any[], returnIndex: true | PicomatchOptions): number;
1214
(matchers: AnymatchMatcher, testString: string|any[]): boolean;
1315
}
1416

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "anymatch",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"description": "Matches strings against configurable strings, globs, regular expressions, and/or functions",
55
"files": [
66
"index.js",

0 commit comments

Comments
 (0)