Add missing 'undefined' in jsdoc type definition