use jsdoc like syntax for optional/required parameters