Fix build maybe?
This commit is contained in:
parent
1161c185e2
commit
4e1e462dbe
|
@ -278,10 +278,7 @@ export const search = (docs: Record<string, any>[], query: RowSearchParams) => {
|
|||
* @param docs the data
|
||||
* @param query the JSON query
|
||||
*/
|
||||
export const runQuery = (
|
||||
docs: Record<string, any>[],
|
||||
query?: SearchFilters
|
||||
) => {
|
||||
export const runQuery = (docs: Record<string, any>[], query: SearchFilters) => {
|
||||
if (!docs || !Array.isArray(docs)) {
|
||||
return []
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue