Skip to content

Commit adf0d18

Browse files
committed
Improve types naming
1 parent 7435773 commit adf0d18

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { createHighlighResult, createSnippetResult } from './format'
33
import {
44
InstantMeiliSearchOptions,
55
InstantMeiliSearchInstance,
6-
InstantsearchTypes,
6+
InstantSearchTypes,
77
} from './types'
88

99
export function instantMeiliSearch(
@@ -144,7 +144,7 @@ export function instantMeiliSearch(
144144
*/
145145
search: async function ([
146146
isSearchRequest,
147-
]: InstantsearchTypes.SearchRequest[]) {
147+
]: InstantSearchTypes.SearchRequest[]) {
148148
try {
149149
// Params got from InstantSearch
150150
const {

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as MStypes from 'meilisearch'
22
import * as IStypes from './instantsearchTypes'
3-
export * as InstantsearchTypes from './instantsearchTypes'
3+
export * as InstantSearchTypes from './instantsearchTypes'
44
export * as MeiliSearchTypes from 'meilisearch'
55

66
export type ISSearchParams = IStypes.SearchRequestParameters &

0 commit comments

Comments
 (0)