vuejs / vuefire

🔥 Firebase bindings for Vue.js
https://vuefire.vuejs.org
MIT License
3.82k stars 323 forks source link

documentation error #1471

Closed tlserver closed 7 months ago

tlserver commented 7 months ago

Reproduction

-

Steps to reproduce the bug

-

Expected behavior

-

Actual behavior

Additional information

-

tlserver commented 7 months ago

useDocument(documentRef, options?): _RefFirestore<VueFirestoreDocumentData | undefined> Creates a reactive collection (usually an array) of documents from a collection ref or a query from Firestore. Accepts a generic to enforce the type of the returned Ref. Note you can (and probably should) use .withConverter() to have stricter type safe version of a collection reference.

The second document error is not yet corrected.