#Any way to inherit type docs on properties?
9 messages · Page 1 of 1 (latest)
E.g. I'm looking for something that would end up looking similar to this without having to annotate the type itself
I'm not sure where the play ground link went but here it is again to give slightly more context
Preview:```ts
/**
- Null value means no image
- Empty string means upload in progress
- Truthy value is the url
*/
type Images = Record<string, string>;
/** Another random description */
type Resource = {};
export type Foo = {
/** @inheritdoc doesn't pull the Images type description */
...```
You can choose specific lines to embed by selecting them before copying the link.
The goal is to be able to hover over Foo and have it show the "nested" jsdoc documentation
that may be something you have to see with your code editor honestly