Skip to content

Instantly share code, notes, and snippets.

@kjmczk
Created April 30, 2021 08:17
Show Gist options
  • Save kjmczk/3f605fe1e57b2afa044b9de6fd22fb3f to your computer and use it in GitHub Desktop.
Save kjmczk/3f605fe1e57b2afa044b9de6fd22fb3f to your computer and use it in GitHub Desktop.
types/post.ts - MDX Blog Simple - Medium
// 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