DEV Community


Discussion on: How can I refactor this code snippet?

yeahch profile image
ch 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.