DEV Community

Discussion on: How can I refactor this code snippet?

Collapse
 
yeahch profile image
ch

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.