jsdoc: use specific type in case of return this (close #356)