diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-14 09:47:28 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-14 09:47:51 +0200 |
commit | 49e82e812812ba75175d98173379d2e416e17b8f (patch) | |
tree | f67bdcffce9aca8a76b534124a0eabbe85658768 /lib/getPosts.ts | |
parent | 262ebdc07892f3c892d4831c276444df6f6e22f1 (diff) | |
download | kronikarz-49e82e812812ba75175d98173379d2e416e17b8f.tar.gz kronikarz-49e82e812812ba75175d98173379d2e416e17b8f.zip |
Add getPost
Diffstat (limited to 'lib/getPosts.ts')
-rw-r--r-- | lib/getPosts.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getPosts.ts b/lib/getPosts.ts index 69a353f..1821f12 100644 --- a/lib/getPosts.ts +++ b/lib/getPosts.ts @@ -1,5 +1,5 @@ import { Post } from "./interfaces"; -import parsePost from "./parsePost"; +import { parsePost } from "./parsePost"; import { readDir } from "./utils"; function getPosts(path: string): Array<Post> { |