I don't know if it has anything to do with rxjs specifically, but I just checked and it indeed works without the trailing comma - I thought it would be required to specify only naming the first item in the array, but that is not so. It can be used to specify other positions, see here:
Great article! I wanted to check if the trailing comma in the destructuring assignment is necessary in rxjs?
I don't know if it has anything to do with rxjs specifically, but I just checked and it indeed works without the trailing comma - I thought it would be required to specify only naming the first item in the array, but that is not so. It can be used to specify other positions, see here:
basarat.gitbooks.io/typescript/doc...