mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 13:03:31 +01:00
fix(Property): Check for a property type excerpt (#9365)
This commit is contained in:
@@ -51,10 +51,14 @@ export function Property({
|
|||||||
{item.displayName}
|
{item.displayName}
|
||||||
{item.isOptional ? '?' : ''}
|
{item.isOptional ? '?' : ''}
|
||||||
</h4>
|
</h4>
|
||||||
<h4 className="font-mono text-lg font-bold">{separator}</h4>
|
{item.propertyTypeExcerpt.text ? (
|
||||||
<h4 className="break-all font-mono text-lg font-bold">
|
<>
|
||||||
<ExcerptText excerpt={item.propertyTypeExcerpt} model={item.getAssociatedModel()!} />
|
<h4 className="font-mono text-lg font-bold">{separator}</h4>
|
||||||
</h4>
|
<h4 className="break-all font-mono text-lg font-bold">
|
||||||
|
<ExcerptText excerpt={item.propertyTypeExcerpt} model={item.getAssociatedModel()!} />
|
||||||
|
</h4>
|
||||||
|
</>
|
||||||
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{hasSummary || inheritedFrom ? (
|
{hasSummary || inheritedFrom ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user