Skip to content

Commit

Permalink
fix(types): clear cache parameter in search module is optional
Browse files Browse the repository at this point in the history
Complies with respective JSDoc and it works like that
  • Loading branch information
kutoman authored Aug 12, 2024
1 parent 9d096ae commit 6ca9e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/fomantic-ui-search.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ declare namespace FomanticUI {
/**
* Clears value from cache, if no parameter passed clears all cache.
*/
(behavior: 'clear cache', query: string): JQuery;
(behavior: 'clear cache', query?: string): JQuery;

/**
* Writes cached results for query.
Expand Down

0 comments on commit 6ca9e03

Please sign in to comment.