For example, I have a function:
/**
* Function returns null
*/
const myFunction = () => {
return null
}
And an object like this:
const internals = {
myFunction: myFunction,
}
So I want to see this description: "Function returns null" at internals.myFunction in VScode.
But with notations like @inheritDoc, @link and such I just see them as is: {@inheritDoc myFunction}
I want to generate a solid d.ts with all necessary docs
Is it possible?
So I had a glance at React sources and there is the way:
Let assume the function is in a file
my-function.ts:then I reexport all my functions like this:
functions.ts:And finally:
internals.tsSo by this way I finally can see "Function returns null" at
So check my codesandbox for the example