I am using {*} for the "any" type in my JSDoc which I think is the standard usage. This is used in examples on these pages:
prettier-plugin-jsdoc is replacing {*} with {any} which I have not seen documented or used in examples for JSDoc, although presumably reasonable for TSDoc since a TypeScript type.
/**
- * @param {*} previous
+ * @param {any} previous
*/
I am using
{*}for the "any" type in my JSDoc which I think is the standard usage. This is used in examples on these pages:prettier-plugin-jsdoc is replacing
{*}with{any}which I have not seen documented or used in examples for JSDoc, although presumably reasonable for TSDoc since a TypeScript type.