Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
patmood committed Nov 5, 2022
1 parent 7856ea7 commit a2178e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<Task>("RECORD_ID") // -> results in Promise<Task>`

0 comments on commit a2178e2

Please sign in to comment.