Discussion on: How can I refactor this code snippet?

yeahch profile image
C & H Author

I see what you are meaning. but 'this' is Vue Component, and I want to pass only those parameters into newReportPart.
So I will take a look at pick or omit methods.
Thank you.