1amageek / pring.ts

Cloud Firestore model framework for TypeScript - Google
https://firebase.google.com/docs/firestore/
MIT License
108 stars 7 forks source link

Base.query() return type & Query#dataSource() arguments #30

Closed yarnaimo closed 5 years ago

yarnaimo commented 5 years ago
await Document.query().dataSource(Document).get() // => Base[]

to

await Document.query().dataSource().get() // => Document[]
1amageek commented 5 years ago

Thank you!!