mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
9288f56649
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 |