Split Variable Declaration

Convert declarations with multiple variables into separate declarations for each variable.

refactoring
safe

Convert variable declarations with multiple variables into separate declarations that declare one variable each.

For example,

let a = 2, b;

is converted into

let a = 2;
let b;

Related Code Actions