Skip to content

Instantly share code, notes, and snippets.

@oleersoy
Created September 29, 2019 05:54
Show Gist options
  • Save oleersoy/5f7e000d7f43ccacb643aa42dee15544 to your computer and use it in GitHub Desktop.
Save oleersoy/5f7e000d7f43ccacb643aa42dee15544 to your computer and use it in GitHub Desktop.
input.ts
const postCategories: PostCategory[] = [
{
id: "iot",
name: "IOT",
summary: "Internet of Things Posts.",
posts: [
{
id: "thermostat",
title: "Thermostat",
content: "How to make it really cold fast!"
},
{
id: "doorbell",
title: "Doorbell",
content: "DING DONG!!! Turkey is Done!!"
}
]
},
{
id: "ml",
name: "ML",
summary: "Machine Learning for Smarties",
posts: [
{
id: "deep9",
title: "Deep9",
content: "How to Machine Learning by Going Deep!"
}
]
}
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment