Skip to content

Commit 3710a89

Browse files
Merge #1601
1601: feat: add export for MeiliSearch as Meilisearch r=brunoocasali a=Dhoni77 # Pull Request ## Related issue Fixes #1600 ## What does this PR do? Add export for `MeiliSearch` class with the identifier `Meilisearch` ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Dhoni77 <aldrinmarz7@gmail.com>
2 parents 66060f7 + 7826ebe commit 3710a89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ export * from './errors'
33
export * from './indexes'
44
import { MeiliSearch } from './clients/browser-client'
55

6-
export { MeiliSearch }
6+
export { MeiliSearch, MeiliSearch as Meilisearch }
77
export default MeiliSearch

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ export * from './enqueued-task'
55
export * from './task'
66
import { MeiliSearch } from './clients/node-client'
77

8-
export { MeiliSearch }
8+
export { MeiliSearch, MeiliSearch as Meilisearch }
99
export default MeiliSearch

0 commit comments

Comments
 (0)