Closed mikhail closed 1 year ago
This is totally normal and I can't do anything about it. The @param
tag in TSDoc is for the parameters of a function.
What you are asking here is to list the properties of an interface. This would be pure duplication, and wrong.
Thanks for looking into it. What's the right way to make it work with the ide? Having to open library source seems wrong as well.
The only way to explore the documentation for the properties of an interface without looking at the source code is by reading the property autocompletion:
In this case, since your IDE knows the function's argument is an InputStage
, then it shows you the expected properties (with their documentation).
If you are not using a function that takes an InputStage
as argument, then you can just create a dummy object and autocomplete its properties:
This is VSCode but it should work the same in IntelliJ. And that's usual in TypeScript :smile:
Current TypeDocs are minimal with inline comments in the body of the interfaces.
This is inconvenient because it requires reading the source code instead of relying on the IDE (IntelliJ in this case). See bottom right -- only includes a single comment.
Request here is to list all parameters (
@param
) in the typedoc ( https://typedoc.org/tags/param/#example )