This diff detects unused expressions and removes them. Unused expressions include: variables, classes/functions private class members, arrays, invocation arguments, object declarations and object spreads.
You should carefully review diffs from this codemod as side effects may occur from unused variable initialization.
[Read more about side effects here](https://fb.quip.com/7pdSA9i4tBEo)**Read this before requesting changes**: .
If this diff removes necessary side effects, you should commandeer
this diff and remove any unused expressions so the codemod no longer
considers the code dead. For example:
const deadVar = sideEffect();
// should be changed to
// you could also add _ prefix to the variable
const _deadVar = sideEffect();