Is it possible to add a function to the global namespace in TypeScript?
I have a function that I use so ubiquitously that is very much tied to a certain programming style that I don't want have an import in every file that uses it.
I thought I was close by defining this function in a file without any exports. The compiler did not complain, but at runtime the function was not found.