@putout/plugin-remove-useless-types
v1.4.1
Published
putout plugin adds ability to find and remove useless
Maintainers
Readme
@putout/plugin-remove-useless-types 
🐊Putout plugin adds ability to find and remove useless types.
Moved to @putout/plugin-typescript.
Install
npm i @putout/plugin-remove-useless-types -DRule
{
"rules": {
"remove-useless-types": "on"
}
}❌ Incorrect code example
type oldType = {
a: number,
b: string,
};
type newType = oldType;
const x: newType = 5;✅ Correct code Example
type oldType = {
a: number,
b: string,
};
const x: oldType = 5;License
MIT
