is not assignable to parameter of type ‘QueryFn’.Object literal may only specify known properties, and ‘query’ does not exist in type ‘QueryFn’.
:C
this.af.list('/viajes-list/', {
query: {
orderByChild: 'idchofer',
equalTo: 2
}
})
.subscribe(data => {
console.log(data);
});