[REQ] [Angular] JSDoc for useSingleRequestParameter
Created by: alexrashed
Is your feature request related to a problem? Please describe.
PR #4479 introduced the single-request-parameter, creating an interface with all parameters for each service method. While this is awesome for type safety and readability, the created interface members are currently not documented (in contrast to the documentation of the usual parameters in the functions JSDoc).
Describe the solution you'd like
The members of the generated interfaces should be commented using JSDoc syntax. F.e.:
export interface ExampleRequestParams {
/** An example documentation of the request parameter test. */
test: string;
}
This format can be seen in the official JSDoc examples and is supported by IntelliJ IDEs (like IDEA or WebStorm).
Additional context
A PR is in the making.