Detect duplicate or near-duplicate TypeScript definitions using ts-morph AST parsing.
npm install @dry-lint/typescript@dry-lint/typescript  
Part of the dry-lint monorepo.
Extracts interfaces, types, enums, and class declarations from TypeScript source files (.ts / .tsx) so you can detect duplicate or overlapping type definitions in your TypeScript codebase.
---
``bash`
bun add -D @dry-lint/typescript
---
Add it to your .drylintrc.json:
`json``
{
"plugins": ["@dry-lint/typescript"]
}
Run detection with the CLI. This plugin auto-registers itself.
---
- Monorepo & Other Plugins
- Core API Docs
---
MIT — see LICENSE.