Skip to content

Commit

Permalink
Export filter function options type
Browse files Browse the repository at this point in the history
  • Loading branch information
jg-rp committed May 15, 2024
1 parent 8b85d98 commit 4a1c7ac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/path/functions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ export { Search } from "./search";
export { Value } from "./value";
export { FunctionExpressionType } from "./function";
export type { FilterFunction } from "./function";
export type { MatchFilterFunctionOptions } from "./match";
export type { SearchFilterFunctionOptions } from "./search";
2 changes: 1 addition & 1 deletion src/path/functions/match.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export type MatchFilterFunctionOptions = {
* The standard and default behavior is to silently return _false_ if a
* pattern is invalid.
*
* If `iRegexpCheck` is _true_ and `throwErrors` is _true_, a `IRegexpError`
* If `iRegexpCheck` is _true_ and `throwErrors` is _true_, an `IRegexpError`
* will be thrown.
*/
iRegexpCheck?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/path/functions/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export type SearchFilterFunctionOptions = {
* The standard and default behavior is to silently return _false_ if a
* pattern is invalid.
*
* If `iRegexpCheck` is _true_ and `throwErrors` is _true_, a `IRegexpError`
* If `iRegexpCheck` is _true_ and `throwErrors` is _true_, an `IRegexpError`
* will be thrown.
*/
iRegexpCheck?: boolean;
Expand Down

0 comments on commit 4a1c7ac

Please sign in to comment.