Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ts): correct dummy v4 client #4459

Merged
merged 4 commits into from
Jul 30, 2020
Merged

fix(ts): correct dummy v4 client #4459

merged 4 commits into from
Jul 30, 2020

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Jul 30, 2020

Summary

Client v3 also has addAlgoliaAgent, and TypeScript doesn't seem strict enough to infer that the signatures don't match, unless a "marker" key is added.

Result

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 30, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit f3300aa:

Sandbox Source
InstantSearch.js Configuration

src/types/algoliasearch.ts Outdated Show resolved Hide resolved
src/types/algoliasearch.ts Outdated Show resolved Hide resolved
@Haroenv Haroenv marked this pull request as ready for review July 30, 2020 12:28
@Haroenv Haroenv requested review from yannickcr and eunjae-lee July 30, 2020 12:29
package.json Outdated Show resolved Hide resolved
@Haroenv Haroenv merged commit ca0c394 into master Jul 30, 2020
@Haroenv Haroenv deleted the fix/ts-client-v3 branch July 30, 2020 13:07
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.

3 participants