Closed
Description
Sometimes i use minified script snippets like AppInsights (code snippet is generated by the azure portal), that creates a class in windows.whatever.
Typescript compiler then complains about unknown things on window.
Code would work great if the compiler did not complain.
It costs lots of time finding a workarround. So creating something simple like regions of code that the compiler should ignore and just copy would be cool. Could be some easy syntax like he IF DEBUG flags in C#.