$ npm install @putout/plugin-remove-unused-types
🐊Putout plugin adds ability to find and remove unused types.
Moved to @putout/plugin-typescript
npm i @putout/plugin-remove-unused-types -D
{
"rules": {
"remove-unused-types": "on"
}
}
type n = number;
type s = string;
const x: n = 5;
type n = number;
const x: n = 5;
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE