17 lines
349 B
TypeScript
17 lines
349 B
TypeScript
import { Component } from '@angular/core';
|
|
import { Post} from './posts/post.model';
|
|
|
|
@Component({
|
|
selector: 'app-root',
|
|
templateUrl: './app.component.html',
|
|
styleUrls: ['./app.component.css']
|
|
})
|
|
export class AppComponent {
|
|
//StoredPosts: Post[] = [];
|
|
title = 'sell4zec';
|
|
|
|
//onPostAdded(post: Post){
|
|
//this.StoredPosts.push(post);
|
|
//}
|
|
}
|