mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
utils: fix search parser type export (#644)
This commit is contained in:
1 parent
b73afc7af6
commit
28a32869e2
1 file changed
+3
-2
@@ -1,6 +1,7 @@
|
||||
import { parse, SearchParserOptions, SearchParserResult } from 'search-query-parser';
|
||||
import type { SearchParserOptions, SearchParserResult } from 'search-query-parser';
|
||||
import { parse } from 'search-query-parser';
|
||||
|
||||
export { parse, SearchParserOptions, SearchParserResult } from 'search-query-parser';
|
||||
export { parse, SearchParserOptions, SearchParserResult };
|
||||
|
||||
export function stringify(queryObject: SearchParserResult, options: SearchParserOptions = {}, prefix = ''): string {
|
||||
if (!Object.keys(queryObject || {}).length) return '';
|
||||
|
||||
Reference in new issue
Block a user