fix(ts): correct type for listIndices response by Haroenv · Pull Request #1236 · algolia/algoliasearch-client-javascript · GitHub
Skip to content

fix(ts): correct type for listIndices response#1236

Merged
Haroenv merged 1 commit into
masterfrom
fix/list-indices-type
Dec 3, 2020
Merged

fix(ts): correct type for listIndices response#1236
Haroenv merged 1 commit into
masterfrom
fix/list-indices-type

Conversation

@Haroenv

@Haroenv Haroenv commented Dec 3, 2020

Copy link
Copy Markdown
Contributor
  1. the type for createdAt & updatedAt is actually a string timestamp, not a number
  2. the type should be called Index, not Indice
  3. add the types for replica-related properties

see https://www.algolia.com/doc/api-reference/api-methods/list-indices/ for the reference

@Haroenv Haroenv merged commit 0bb6bba into master Dec 3, 2020
@Haroenv Haroenv deleted the fix/list-indices-type branch December 3, 2020 09:45
@codesandbox-ci

codesandbox-ci Bot commented Dec 3, 2020

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants