I have an interface (Worker
, actually) implemented for some classes. But WebStorm gets me a bunch of errors looking like this:
Why does it happen? I do not have this methods and properties in my interface. And it is compiled by npm tsc without any problem. Is it a bug?
Info:
Try renaming your interface, it seems that Worker
could be some other kind of already-defined interface (maybe a super class of WebWorker
)?