Skip to content

Commit 28bd190

Browse files
authored
fix(types): smart field searcher is now declared to support asynchronous code (#716)
1 parent 9f8b7c0 commit 28bd190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export interface SmartFieldValueSetter<T = any> {
232232
}
233233

234234
export interface SmartFieldSearcher {
235-
(search: string): FilterQuery<any>;
235+
(search: string): FilterQuery<any> | Promise<FilterQuery<any>>;
236236
}
237237

238238
export interface SmartFieldFiltererFilter {

0 commit comments

Comments
 (0)