ts-silence-diagnostics

1.0.2 • Public • Published

ts-silence-diagnostics

A TypeScript plugin to silence specific diagnostic codes in your project.

Installation

Install the package from npm:

npm install --save-dev ts-silence-diagnostics

Configuration

In your tsconfig.json, add the plugin configuration:

{
  "compilerOptions": {
    "plugins": [
      {
        "name": "ts-silence-diagnostics",
        "ignoredCodes": [1234]
      }
    ]
  }
}

Replace [1234] with an array of diagnostic codes you want to ignore.

Package Sidebar

Install

npm i ts-silence-diagnostics

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

3.01 kB

Total Files

5

Last publish

Collaborators

  • athomson0