Skip to content

Commit 6ca9e03

Browse files
authored
fix(types): clear cache parameter in search module is optional
Complies with respective JSDoc and it works like that
1 parent 9d096ae commit 6ca9e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/fomantic-ui-search.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ declare namespace FomanticUI {
7575
/**
7676
* Clears value from cache, if no parameter passed clears all cache.
7777
*/
78-
(behavior: 'clear cache', query: string): JQuery;
78+
(behavior: 'clear cache', query?: string): JQuery;
7979

8080
/**
8181
* Writes cached results for query.

0 commit comments

Comments
 (0)