mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 08:31:43 +03:00
The PostRepository type was using `any` (an anti pattern) rather than `PostCollection`, and we had optional properties, which are not really optional. This cleans up the types and updates the tests alongside them. |
||
---|---|---|
.. | ||
posts.ts | ||
PostsRepositoryInMemory.ts |