objeto de metadados angular
import { NgModule, Component } from '@angular/core';
2@Component({
3 selector: 'event-thumbnail',
4 template: `<div>Event Thumbnail Works!</div>`,
5})
6
7export class EventThumbnailComponent {
8 constructor() {
9 console.log('Hey I am a component!');
10 }
11}
12@NgModule({
13 imports: [],
14 declarations: [],
15 providers: []
16})
17export class AppModule {
18 constructor() {
19 console.log('Hey I am a module!');
20 }
21}
Worried Warbler