We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3601b26 commit ae839efCopy full SHA for ae839ef
src/lib/output/plugins/JavascriptIndexPlugin.ts
@@ -42,9 +42,10 @@ export class JavascriptIndexPlugin extends RendererComponent {
42
const rows: any[] = [];
43
const kinds: { [K in ReflectionKind]?: string } = {};
44
45
- const kindBoosts = this.application.options.getValue(
46
- "searchGroupBoosts"
47
- ) as { [key: string]: number };
+ const kindBoosts =
+ (this.application.options.getValue("searchGroupBoosts") as {
+ [key: string]: number;
48
+ }) ?? {};
49
50
for (const reflection of event.project.getReflectionsByKind(
51
ReflectionKind.All
0 commit comments