When using Typescript with Webpack for a debug build that includes source maps, I am able to access static class files in the sources tab without any issues. However, the actual class name is undefined at the global scope.
class SomeStaticClass {
public static doSomething() {
console.log("I just did something!");
}
}
I want to be able to call
SomeStaticClass.doSomething()
from the browser console (for example Google Chrome Inspector Tools). How can I make this work?