diff --git a/src/client/theme-default/components/VPAlgoliaSearchBox.vue b/src/client/theme-default/components/VPAlgoliaSearchBox.vue index 712849fb..31610845 100644 --- a/src/client/theme-default/components/VPAlgoliaSearchBox.vue +++ b/src/client/theme-default/components/VPAlgoliaSearchBox.vue @@ -34,11 +34,7 @@ type DocSearchProps = Parameters[0] function initialize(userOptions: DefaultTheme.AlgoliaSearchOptions) { // note: multi-lang search support is removed since the theme // doesn't support multiple locales as of now. - const options = Object.assign< - {}, - DefaultTheme.AlgoliaSearchOptions, - DocSearchProps - >({}, userOptions, { + const options = Object.assign<{}, {}, DocSearchProps>({}, userOptions, { container: '#docsearch', navigator: {