@Output() aoTranferir = new EventEmitter<any>();
error: Expected 0 type arguments, but got 1.ts(2558)
valor: number;
destino: number;
tranferir() {
console.log('solicitada nova tranferencia')
const valorEmitir = { valor: this.valor, destino: this.destino}
this.aoTranferir.emit(valorEmitir)
}
error Argument of type '{ valor: number; destino: number; }' is not assignable to parameter of type 'string | symbol'.
Type '{ valor: number; destino: number; }' is not assignable to type 'symbol'.ts(2345)