Closed
Description
I sometimes forget that I can type Map/Set with a generic on the right hand side. I'd like to add a rule to enforce typing Map/Set with a generic on the RHS, instead of typing the variable on the LHS.
This would be an error:
const mySet: Set<string> = new Set();
And would autocorrect to:
const mySet = new Set<string>();