Skip to content

Allow suppressing diagnostics for certain files #700

@freeman

Description

@freeman

Expected Behaviour

I'd like to be able to ignore typescript errors/diagnostics for certain files (or only reporting errors for certain files).

This feature is available in at-loader as reportFiles. This can be useful when some type definitions contain errors that do not otherwise break the application. In this case it can be useful to squelch them while waiting for upstream to fix the issue.

Actual Behaviour

ts-loader reports all errors and we can only filter out some specific diagnostics but this is global.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions