If I have some function like this:
const function = (param: string) => {
// ...
}
Now in VS Code if I start typing /** above so that it generates the docs, it gives this:
/**
*
* @param param
*/
const function = (param: string) => {
// ...
}
But I want it to also automatically generate the type from the typescript information, like this:
/**
*
* @param {string} param
*/
const function = (param: string) => {
// ...
}
Is this possible?