Closed rjcodedev closed 1 month ago
What do you mean by "not available"?
hey @mtrezza , see this image when i try to import it is not available
This seems to be just the IDE auto-complete, but does the method work? Also, which Parse JS SDK version is your IDE using here?
Related: https://github.com/parse-community/Parse-SDK-JS/issues/2012
@mtrezza how do I check Parse js sdk version in my IDE In my project I am using Parse : 5.3.0, Parse-server: 7.2.0
hey @mtrezza , Parse.User.loginAs
method is working but not available in suggestion.
If you know how to update a package from suggestions, please let me know.
I am using VS-code
Thank you
@dplewis did a lot of the typescript conversion in this repo, maybe he could take a look...
@rjcodedev You can submit a PR to @types/parse to add this missing method.
@dplewis wasn't the purpose of https://github.com/parse-community/Parse-SDK-JS/issues/2012 to remove the reliance on @types/parse and instead use the TS definition that is generated by us?
Explained in https://github.com/parse-community/Parse-SDK-JS/issues/2012#issuecomment-2273656431
Closing as duplicate of https://github.com/parse-community/Parse-SDK-JS/issues/2012.
New Issue Checklist
Issue Description
"I tried to log in a user directly using the
Parse.User.loginAs
method in the Parse JS SDK, but it is not available. However, this feature was merged from version 4.2.0 as shown in this issue: Parse JS SDK Issue #1875."Actual Outcome
Not able to import from Parse JS SDK
Expected Outcome
It must be available in the Parse JS SDK version 5.3.0, and users can log in with the master key using this method.
Server
7.1.0
windows
local
Database
mongodb
local
Client
5.3.0