Skip to content

Commit b5a1a36

Browse files
committed
format
1 parent 3d6731c commit b5a1a36

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

packages/lit-dev-content/src/components/litdev-search.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,9 @@ export class LitDevSearch extends LitElement {
342342
.then((searchIndexJson) => {
343343
// Minisearch intialization config must exactly match
344344
// `/lit-dev-tools-cjs/src/search/plugin.ts` Minisearch options.
345-
LitDevSearch._siteSearchIndex =
346-
Minisearch.loadJSON<UserFacingPageData>(searchIndexJson, {
345+
LitDevSearch._siteSearchIndex = Minisearch.loadJSON<UserFacingPageData>(
346+
searchIndexJson,
347+
{
347348
idField: 'id',
348349
fields: ['title', 'heading', 'text'],
349350
storeFields: ['title', 'heading', 'relativeUrl', 'isSubsection'],
@@ -352,9 +353,10 @@ export class LitDevSearch extends LitElement {
352353
prefix: true,
353354
fuzzy: 0.2,
354355
},
355-
});
356+
}
357+
);
356358

357-
return LitDevSearch._siteSearchIndex;
359+
return LitDevSearch._siteSearchIndex;
358360
});
359361
LitDevSearch._loadingSearchIndex = searchIndexPromise;
360362

0 commit comments

Comments
 (0)