connect-query-es
connect-query-es copied to clipboard
Input fields lose their jsdoc comments
Reproduction steps:
- Use any given service method whose input fields contain some jsdoc comments
- Write out a query like
useQuery(serviceMethod, { someField: "whatever" })
Notice that hovering over someField doesn't show the jsdoc associated with the field.
I believe this may be due to our mapped type MessageInitShape transforming the keys and losing the jsdoc info (see TS issue) but not sure.