mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 00:44:42 +12:00
fix(Property): Check for a property type excerpt (#9365)
This commit is contained in:
parent
dcf58d8140
commit
6a221a9676
1 changed files with 8 additions and 4 deletions
|
@ -51,10 +51,14 @@ export function Property({
|
|||
{item.displayName}
|
||||
{item.isOptional ? '?' : ''}
|
||||
</h4>
|
||||
<h4 className="font-mono text-lg font-bold">{separator}</h4>
|
||||
<h4 className="break-all font-mono text-lg font-bold">
|
||||
<ExcerptText excerpt={item.propertyTypeExcerpt} model={item.getAssociatedModel()!} />
|
||||
</h4>
|
||||
{item.propertyTypeExcerpt.text ? (
|
||||
<>
|
||||
<h4 className="font-mono text-lg font-bold">{separator}</h4>
|
||||
<h4 className="break-all font-mono text-lg font-bold">
|
||||
<ExcerptText excerpt={item.propertyTypeExcerpt} model={item.getAssociatedModel()!} />
|
||||
</h4>
|
||||
</>
|
||||
) : null}
|
||||
</div>
|
||||
</div>
|
||||
{hasSummary || inheritedFrom ? (
|
||||
|
|
Loading…
Reference in a new issue