Documentation
    Preparing search index...

    Module @dry-lint/typescript

    @dry-lint/typescript

    CI Docs License

    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.


    bun add -D @dry-lint/typescript
    

    Add it to your .drylintrc.json:

    {
    "plugins": ["@dry-lint/typescript"]
    }

    Run detection with the CLI. This plugin auto-registers itself.



    MIT — see LICENSE.

    Functions

    normalizeEnum
    normalizeInterface
    normalizeIntersection
    normalizeMapped
    normalizeReference
    normalizeTuple
    normalizeTypeAlias
    normalizeTypeLiteral
    normalizeUnion