Skip to content

Commit

Permalink
fix: docsearch types
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed May 20, 2024
1 parent 1aaba17 commit 00bf28a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/shim.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/vitepress/components/VPAlgoliaSearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function initialize(userOptions: AlgoliaSearchOptions) {
return items.map((item) => {
return Object.assign({}, item, {
url: getRelativePath(item.url)
})
}) as any
})
},
Expand Down
2 changes: 1 addition & 1 deletion src/vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export interface Config {
* @docsearch/react/dist/esm/DocSearch.d.ts
*/
export interface AlgoliaSearchOptions {
appId?: string
appId: string
apiKey: string
indexName: string
placeholder?: string
Expand Down

0 comments on commit 00bf28a

Please sign in to comment.