update one component from another component angular 9

JavaScript
this.CommonService.updateListsObs
.subscribe(
(response) => {console.log("You will get date range in response which can be used to filter Car list in Component A ")}
)

Source

Also in JavaScript: