updateJSDocOptionalType