mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-09-26 05:19:00 +02:00
update index.d.ts
This commit is contained in:
2
dist/module-debug/cache.js
vendored
2
dist/module-debug/cache.js
vendored
@@ -12,7 +12,7 @@ import { SearchOptions, DocumentSearchOptions } from "./type.js";
|
||||
|
||||
export function searchCache(query_or_options, limit_or_options, options) {
|
||||
|
||||
const query = ("object" == typeof query_or_options ? "" + query_or_options.query : "" + query_or_options).toLowerCase();
|
||||
const query = (limit_or_options ? "" + query_or_options : "object" == typeof query_or_options ? "" + query_or_options.query : query_or_options).toLowerCase();
|
||||
|
||||
if (!this.cache) {
|
||||
this.cache = new CacheClass();
|
||||
|
Reference in New Issue
Block a user