Function: getEffectiveSearchThemeConfigProperty()
getEffectiveSearchThemeConfigProperty(
configObjectExpression:Readonly<TSESTree.ObjectExpression>,programNode?:Readonly<Program>):Readonly<{keyLabel:"themeConfig.algolia"|"themeConfig.docsearch";property:Readonly<Property>; }> |null
Defined in: _internal/search-config.ts:155
Resolve the effective search config property, preferring docsearch.
Parametersโ
configObjectExpressionโ
Readonly<TSESTree.ObjectExpression>
programNode?โ
Readonly<Program>
Returnsโ
Readonly<{ keyLabel: "themeConfig.algolia" | "themeConfig.docsearch"; property: Readonly<Property>; }> | null