ERROR in app.module.ts:12:5 - error NG6001: The class 'ExtratoComponent' is listed in the declarations of the NgModule 'AppModule', but is not a directive, a component, or a pipe. Either remove it from the NgModule's declarations, or add an appropriate Angular decorator.
12 ExtratoComponent
~~~~~~~~~~~~~~~~
extrato/extrato.component.ts:8:14
8 export class ExtratoComponent implements OnInit {
~~~~~~~~~~~~~~~~
'ExtratoComponent' is declared here.
extrato/extrato.component.ts:8:14 - error NG6003: Appears in the NgModule.exports of AppModule, but could not be resolved to an NgModule, Component, Directive, or Pipe class.
Is it missing an Angular annotation?
8 export class ExtratoComponent implements OnInit {
~~~~~~~~~~~~~~~~
app.component.html:1:1 - error NG8001: 'app-nova-transferencia' is not a
known element:
1. If 'app-nova-transferencia' is an Angular component, then verify that
it is part of this module.
2. If 'app-nova-transferencia' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
1 <app-nova-transferencia (aoTransferir)="transferir($event)">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
app.component.ts:5:16
5 templateUrl: './app.component.html',
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AppComponent.
app.component.html:3:1 - error NG8001: 'app-extrato' is not a known element:
1. If 'app-extrato' is an Angular component, then verify that it is part
of this module.
2. If 'app-extrato' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA'
to the '@NgModule.schemas' of this component to suppress this message.
onent and it has 'transferencias' input, then verify that it is part of this module.
2. If 'app-extrato' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA'
to the '@NgModule.schemas' of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.
3 <app-extrato [transferencias]="transferencias"></app-extrato>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
app.component.ts:5:16
5 templateUrl: './app.component.html',
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AppComponent.