Fix build maybe?

This commit is contained in:
Sam Rose 2024-06-14 09:31:48 +01:00
parent 1161c185e2
commit 4e1e462dbe
No known key found for this signature in database
1 changed files with 1 additions and 4 deletions

View File

@ -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 []
}