I'm looking for a tool that could help me to do the following operation:
Given that code:
const before = (arg1: string, arg2: string) => null;
I would like to have the following result:
const after = ({ arg1, arg2 }: { arg1: string; arg2: string }) => null;
Is it possible to do that with a snippet ? (for exemple, i select my args and it directly transform them)