Closed tenorok closed 9 years ago
Hello! I want to declare interface of abstract function, but I have a problem with both usage of abstract and returns properties.
abstract
returns
Redundant return statement at ./code.js : 476 | * @abstract 477 | * @returns {Number} ---------------^ 478 | */ 479 | getPopupWidth: function() {},
It is bug?
@tenorok It is unexpected behaviour. ;-)
Feels like we need to skip checking this for @abstract declarations.
@abstract
Cool! :star2:
Hello! I want to declare interface of abstract function, but I have a problem with both usage of
abstract
andreturns
properties.It is bug?