Files
tsclass/ts/article.ts
2017-03-16 19:34:27 +01:00

23 lines
303 B
TypeScript

import { IAuthor } from './author'
export interface IArticle {
/**
* the title of an article
*/
title: string
/**
* the Author of an article
*/
author: IAuthor
/**
* the content of an article
*/
content: string
/**
* the tags of an article
*/
tags: string[]
}