API reference documentation for Datastore states find method returns Observable.
find(query: Query, options: Object): Observable
Find all entities in the collection.
But the code in kinvey-js/sdk/lib/datastore/networkstore.d.ts shows that it returns type any:
Am I looking at the wrong thing? If now this is a major problem if SDK documentation is this inacturate.
Hi Kiril,
You are correct. There is a discrepancy in the documentation and the typescript definition. the "find" method does return an Observable.
I have logged this to be fixed.
Regards
Martin Apostolov
Kiril Okun
API reference documentation for Datastore states find method returns Observable.
find(query: Query, options: Object): Observable
Find all entities in the collection.
But the code in kinvey-js/sdk/lib/datastore/networkstore.d.ts shows that it returns type any:
Am I looking at the wrong thing? If now this is a major problem if SDK documentation is this inacturate.