I would like to suppress any desired error; TS7017 is only an example.
Maybe it is possible now? Can TypeScript v4++ help?
I want to achieve something like (e.g., in the compilerOptions
in tsconfig.json
):
// ATTENTION PSEUDO CODE
suppressErrors: ['TS7017', ....]
(TS7017 is an example, it means: Index signature of object type implicitly has an 'any' type.)
Before anyone says the question doesn't make sense :)
No matter how absurd it sounds:
yes, I want to disable the fire alarm and intentionally set it on fire, because I have to test ( = management decision), how the people act, if there is fire, without a fire alarm.