'How do I add JSDoc comments for a function with event?

I have this function:

const checking = (event) => {
    event.preventDefault();
    //rest of function
}

how would I add JSDoc commenting for this function? I know you're typically supposed to declare the type like string or num, but I am not sure for event



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source