Wrong type of 'this' inside firestore() context #399
Labels
contribution welcome
If nobody has proposed a PR for this feature yet, feel free to comment and work on it
firestore
new Cloud Store
RTDB
Old Firebase realtime database
typescript
Uh oh!
There was an error while loading. Please reload this page.
I am getting typing errors when trying to access props/methods of Vue instance inside of
firestore
function. In the example below,uid
is a prop and I get no typing errors when accessing fromcreated
lifecycle hook, but it is not defined inside firestore function.This can resolve the issue, but shouldn't be necessary:
The text was updated successfully, but these errors were encountered: