Skip to content

Commit 4a1c7ac

Browse files
committed
Export filter function options type
1 parent 8b85d98 commit 4a1c7ac

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/path/functions/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ export { Search } from "./search";
55
export { Value } from "./value";
66
export { FunctionExpressionType } from "./function";
77
export type { FilterFunction } from "./function";
8+
export type { MatchFilterFunctionOptions } from "./match";
9+
export type { SearchFilterFunctionOptions } from "./search";

src/path/functions/match.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export type MatchFilterFunctionOptions = {
2323
* The standard and default behavior is to silently return _false_ if a
2424
* pattern is invalid.
2525
*
26-
* If `iRegexpCheck` is _true_ and `throwErrors` is _true_, a `IRegexpError`
26+
* If `iRegexpCheck` is _true_ and `throwErrors` is _true_, an `IRegexpError`
2727
* will be thrown.
2828
*/
2929
iRegexpCheck?: boolean;

src/path/functions/search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export type SearchFilterFunctionOptions = {
2424
* The standard and default behavior is to silently return _false_ if a
2525
* pattern is invalid.
2626
*
27-
* If `iRegexpCheck` is _true_ and `throwErrors` is _true_, a `IRegexpError`
27+
* If `iRegexpCheck` is _true_ and `throwErrors` is _true_, an `IRegexpError`
2828
* will be thrown.
2929
*/
3030
iRegexpCheck?: boolean;

0 commit comments

Comments
 (0)