How to properly document an express application with JSDoc

I need a quick help with JSDoc, I’m trying to document a node application running with express but I can find a way to declare it correctly for Intelisense. Below is a code snippet on what I’m trying to do and the issue.

const express = require('express');
// initializing the express application

const app = express();

/** 
 * Express application
 *
 * @public
 */
module.exports = app;

app.get('test');
app.use(anotherFunction());

What is happening for me is that neither the .get or .use (or any other method for the matter) are part of the express prototype