Javascript – How can I have a JSDoc interface with static properties & methods?
The following is an interface. /** * @interface */ class ISomething { /** * @return {number} */ static aMethod() { throw new Error('not implemented'); } /** * @type {Object} */ static property; } The following is an implementation, and no…