Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export type ArticleList = ArticleListItem[];
- export class ArticleListItem {
- title!: string;
- date?: string;
- key_type!: KeyTypes;
- path!: string;
- query: string = '';
- constructor( item: ArticleListItem ) {
- Object.assign( this, item );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement