Open
Description
I know that all errors in TypeScript are optional, it'd be nice if we could declare which error ids we want to ignore.
I.E. In the tsconfig.json
:
{
"compilerOptions":{
"ignoreErrors":[2403,2686,...]
}
}
The reason I say this is because a lot of these errors are just irratating... Like the error:
'L' refers to a UMD global, but the current file is a module. Consider adding an import instead.
This isn't an actual type error. It's a code style suggestion, and is entirely subjective unlike invalid type errors. I find many little 'errors' like this and they are deeply frustrating, as they just fill the error log with rubbish... Allow us to define which error ids we want to ignore, and this won't happen.