You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry firstly if this has been answered somewhere, but I cannot for the life of me figure out how to extend the Promise.User object. Below is an example of what I'm trying to do"
Obviously signUpAsAdmin won't work as it will return an instance of Parse.User and not User, but I can't find any clear example of extending Parse.User with an extra property in typescript (should I use typescript accessors?). Again, sorry if there is one, but my head is a bit buggered from looking. Cheers
The text was updated successfully, but these errors were encountered:
Sorry firstly if this has been answered somewhere, but I cannot for the life of me figure out how to extend the
Promise.User
object. Below is an example of what I'm trying to do"Obviously
signUpAsAdmin
won't work as it will return an instance ofParse.User
and notUser
, but I can't find any clear example of extendingParse.User
with an extra property in typescript (should I use typescript accessors?). Again, sorry if there is one, but my head is a bit buggered from looking. CheersThe text was updated successfully, but these errors were encountered: