korywka
korywka

Reputation: 7653

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

Upvotes: 2

Views: 51

Answers (1)

korywka
korywka

Reputation: 7653

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

Upvotes: 2

Related Questions