The npm module @tensorflow/tfjs has declaration files, which have a comment structure like this:
/**
* Creates a new array with randomized indicies to a given quantity.
*
* ```js
* const randomTen = tf.util.createShuffledIndices(10);
* console.log(randomTen);
* ```
*
* @param number Quantity of how many shuffled indicies to create.
*/
/** @doc {heading: 'Util', namespace: 'util'} */
export declare function createShuffledIndices(n: number): Uint32Array;
which causes the intellisense of my vs-code to show something like this:
The documentation looks something like jsdoc, just closing and reopening the comment probably breaks it.
As it's extremely unlikely, that tensorflowjs has broken documentation, i am probably just making some very simple mistake. There is very likely a dupe for this. Sadly, all my searches failed.
