Fixed jsdoc types, see #258