From e4e6d0b5e6c675f83a174ffe52bce4d3bdad7ff3 Mon Sep 17 00:00:00 2001 From: Luca Ongaro Date: Thu, 26 Oct 2023 16:38:24 +0200 Subject: [PATCH] Consistent case in docs --- src/MiniSearch.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MiniSearch.ts b/src/MiniSearch.ts index 4297a454..d74bb9c2 100644 --- a/src/MiniSearch.ts +++ b/src/MiniSearch.ts @@ -1161,7 +1161,7 @@ export default class MiniSearch { * * ```javascript * // Return search results for all documents - * minisearch.search(MiniSearch.wildcard) + * miniSearch.search(MiniSearch.wildcard) * ``` * * Note that search options such as `filter` and `boostDocument` are still @@ -1169,7 +1169,7 @@ export default class MiniSearch { * * ```javascript * // Return search results for all documents in the 'fiction' category - * minisearch.search(MiniSearch.wildcard, { + * miniSearch.search(MiniSearch.wildcard, { * filter: (result) => result.category === 'fiction' * }) * ```