Created
April 30, 2021 08:17
-
-
Save kjmczk/3f605fe1e57b2afa044b9de6fd22fb3f to your computer and use it in GitHub Desktop.
types/post.ts - MDX Blog Simple - Medium
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// types/post.ts | |
export interface IPost { | |
slug: string; | |
date: string; | |
thumbnail: string; | |
title: string; | |
description: string; | |
yields: string; | |
ingredients: string[]; | |
directions: string[]; | |
tips: string[]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment