Search code examples
intellij-ideawebstorm

WebStorm: Mark method to be overridden in ES6 base class


How to hide Unresolved function or method addLayers() notification? So WebStorm would know that this method is overridden/declared in extended/child class.

enter image description here


Solution

  • Resolved: We can use @abstract JSDoc. Also we need to turn off class-methods-use-this rule in eslint config. Github issue for eslint.