How to filter particular TypeScript errors in build result

Hi interwebz. I just want to share this short poor man’s fix when migrating TypeScript to filter out some particular errors in TypeScript build. Why the hell you (might) need it? So what would be the common use case , why to bother mask/mute errors…

JavaScript Visual Studio snippet for is object defined check

Since I write a lot of JavaScript currently in Visual Studio these days, I lack one of the very common checks in JavaScript and that is testing if object exists. I mean this check : [javascript] if (typeof (someObject) !== ‘undefined’) { someJSCodeHere(); } [/javascript] If you want to use…