this question from StackOverflow
to here because I think there is no way to deal with some statements like:
I think a solution would be to add some compiler directives. That would tell TypeScript not to process a certain piece of code but just copy it into the result js file.
I imagine something like GCC's pragmas (?)