DEV Community

xavax31
xavax31

Posted on

How add a description comment to useState, to be visible in intellisense?

Is it possible to add a comment to useState? a kind of:
/** my super var */
const [myVar, setMyVar] = useState(true);

that will be then display during completion

Top comments (0)