-
Notifications
You must be signed in to change notification settings - Fork 124
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
No typings on search body, other than Record<string, any> #942
Comments
Just using the latest stable release, set as ^2.13.0 in our package file. When will V3 be released officially? |
The current beta version is going to be very close to the final version. We're trying to get more people to test the beta before releasing it. We're aiming to release by year end. |
I just installed beta-8, and whilst i can click through and find the new type ie
|
VSCode intellisense gives me this typing
|
The typing in this comment is coming from the 2.x version. Make sure that the 2.x package has been removed from your env. |
I simply installed the beta over the top via NPM. I'll try removing node_modules and reinstalling. |
@nhtruong did a full removal of node_modules and package-lock, installed the latest beta, typings still broken, still two instances of |
Code from 3.0.0-beta.8
|
Beta 7
there's the bug ;) |
That's super odd. I'll look into it. Thanks for the finding. |
Yea looks like the change to a type union broke it. Happy to PR to revert if there is a workflow for contributions to V3? |
PR open, please let me know if I;'ve done it correctly. |
Thanks @paul-uz The fix is gonna be a bit more involved than that because that file was generated from the spec. I'm going to update the generator. |
I'll leave it in your capable hands haha. |
Is there a way to get better typings on the body of a search result for example?
I see there is
SearchResponse
for Msearch, but not SearchThe text was updated successfully, but these errors were encountered: