Generated documentation doesn't display the content of array of objects
I have this example:
interface example {
obj: {
property: string
}[];
}
And the output of the content of 'obj' is:

Is it possible to make it display the inner contents of the object array?
@SofiaP What do you imagine the output looking like? I tend to think it would be better to define the interface of that object separately so that it can be referenced independently.
If I define the obj like an interface this would work, but in some cases I don't need to reference the interface multiple times, and it would be nice to view the content of the object. If I do not use an array I will see the object, I don't understand why when I use an array of objects I can't see the object rendered,
I would expect to view the property rendered like:
obj: { property: string }[]
Has there been any solution or workaround for this?
@kal93 A workaround would be to define the object interface
interface example {
obj: ObjectDefinition[];
}
interface ObjectDefinition {
property: string;
}
It looks like something goes wrong in new releases. This example parsed by TypeDoc 0.5.10 appears like this:
Properties obj: object [] Type declaration
- property: string
In recent versions of TypeDoc, we render objects more reasonably:
