From 21e244af348ba9f755ebf7ddc0b9e2afee37e5f4 Mon Sep 17 00:00:00 2001 From: Ben Cherry Date: Wed, 18 Dec 2024 15:31:51 -0800 Subject: [PATCH] expand opts --- tooling/api-documenter/src/documenters/MarkdownDocumenter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tooling/api-documenter/src/documenters/MarkdownDocumenter.ts b/tooling/api-documenter/src/documenters/MarkdownDocumenter.ts index 38b3e067a..7d99681c2 100644 --- a/tooling/api-documenter/src/documenters/MarkdownDocumenter.ts +++ b/tooling/api-documenter/src/documenters/MarkdownDocumenter.ts @@ -1177,7 +1177,7 @@ export class MarkdownDocumenter { //@ts-ignore // apiParameter?._parent?.displayName === 'useParticipantTile' && firstParameter.kind === ExcerptTokenKind.Reference && - firstParameter.text.endsWith('Props') && + (firstParameter.text.endsWith('Props') || firstParameter.text.endsWith('Options')) && firstParameter.canonicalReference ) { // First parameter is a props object.