To answer the actual question
Is there a list somewhere of valid types for param tags for jsdoc?
The documentation of @param
states here that you can use built-in types and "namepaths" (a.k. paths to types you have created/documented earlier and your own types you declared with @type
.
If you look up built-in Javascript types
, you get the following, for example here, you get the list of primitive types:
- Boolean
- Null
- Undefined
- Number
- String
- Symbol (new in ECMAScript 2015)
- Object
And here are some examples of namepaths:
- exampleFunction
- exampleClass#someInstanceMember
- exampleClass.staticMember
- exampleClass~innerMember
E.g. @param {exampleClass} exampleParam Instance of your example class