I am trying to write the JSDocs for an application that I am working on, but regardless of how I document a Component function, the documentation summary shows that the function accepts the parameter Prop of type "any", and will not show the proper summary of what props should contain.

For example, on one function I have this as my documentation:

```js
/**
 * JSX Component for displaying selected images in a fullscreen Modal
 * @typedef {object} props
 * @prop {boolean} modalVis state variable boolean for controling modal visibility
 * @prop {callback} setModalVis callback to state function to set modalVis
 * @prop {string} imageUri string uri of the image to be displayed
 * @returns 
 */
const DisplayModal = (props) => {...}

```

But when I hover the function elsewhere in the code, it gives the following text:

> 
> const DisplayModal: (props: any) => JSX.Element
> 
> 
> @typedef - Props
> 
> 
> @returns
> 
> 
> 

![screenshot](https://i.stack.imgur.com/QoYVv.png)

Is there a proper way to document the expected contents of Props such that a peek of the function will provide the needed information?