I have code like this in my .ts file
test.control('test-change', TestChange);
My test module is initialized in lib/test.ts, and it is properly transpiling to test.js.
However, when I write the above code, webstorm throws this error on that line of code:
error TS2095: Could not find symbol 'test'.
Is there any solution within Webstorm to avoid this error? The code seems perfectly fine, and it even worked previously. I am also using code that has worked within Visual Studio, so it seems like the code is not the issue here.