@putout/plugin-remove-unused-types
putout plugin adds ability to find and remove unused types
Last updated 6 years ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @putout/plugin-remove-unused-types 
SYNC missed versions from official npm registry.

@putout/plugin-remove-unused-types NPM version

🐊Putout plugin adds ability to find and remove unused types. Moved to @putout/plugin-typescript

Install

npm i @putout/plugin-remove-unused-types -D

Rule

{
    "rules": {
        "remove-unused-types": "on"
    }
}

❌ Incorrect code example

type n = number;
type s = string;

const x: n = 5;

✅ Correct code Example

type n = number;

const x: n = 5;

License

MIT

Current Tags

  • 2.0.1                                ...           latest (5 years ago)

6 Versions

  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 1.3.0                                ...           6 years ago
  • 1.2.0                                ...           6 years ago
  • 1.1.0                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Total 6
Today 3
This Week 5
This Month 6
Last Day 1
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (10)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE