Skip to content

Commit

Permalink
fix(types): rectify prev/nextPost types
Browse files Browse the repository at this point in the history
issue #82
  • Loading branch information
sabertazimi committed Aug 4, 2021
1 parent 3d4541d commit 667ae46
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,14 @@ interface PostMetaType {
date: string;
tags: TagType[];
timeToRead: number;
prevPost: string;
nextPost: string;
prevPost: {
slug: string;
title: string;
};
nextPost: {
slug: string;
title: string;
};
}

interface PostContentType {
Expand Down

0 comments on commit 667ae46

Please sign in to comment.