WebStorm:标记要在 ES6 基础中重写的方法 class
WebStorm: Mark method to be overridden in ES6 base class
如何隐藏Unresolved function or method addLayers()
通知?所以 WebStorm 会知道这个方法是 overridden/declared in extended/child class.
已解决:我们可以使用@abstract
JSDoc. Also we need to turn off class-methods-use-this
rule in eslint config. Github issue for eslint。
如何隐藏Unresolved function or method addLayers()
通知?所以 WebStorm 会知道这个方法是 overridden/declared in extended/child class.
已解决:我们可以使用@abstract
JSDoc. Also we need to turn off class-methods-use-this
rule in eslint config. Github issue for eslint。