Added argument type to filter function of rxjs. Fixed the return value of filtering of odd numbers PR Close #24947
PR Close #22573
PR Close #21423