diff --git a/README.md b/README.md index 719f320..b1e5ba0 100644 --- a/README.md +++ b/README.md @@ -44,4 +44,5 @@ The output is a typescript file `pocketbase-types.ts` ([example](./test/pocketba - A type `CollectionRecords` mapping each collection name to the record type In the upcoming [PocketBase SDK](https://github.com/pocketbase/js-sdk) v0.8 you will be able to use generic types when fetching records, eg: + `pb.collection('tasks').getOne("RECORD_ID") // -> results in Promise`