I am assigning an Error object to a variable, and adding some custom properties to it.
VS Code error checking highlighted the new property, saying its not part of the Error object, which is true, but it works anyway.
So I clicked "quick fix" and accidenntally clicked an option, but no idea what it was.
The error highlighting has gone, but now if i add other custom properties, they all get checked against being the same type as the first custom property.
eg first custom property was a number, if i add a string, it now highlights that saying its not of type number.
what setting did i enable, and how do i disable it?
question from:https://stackoverflow.com/questions/66068165/accidentally-enabled-some-error-checking-cannot-undo