Skip to content

Commit 9ca1aab

Browse files
Clean up reference descriptions and syntax definitions (#3306)
1 parent 66e04c4 commit 9ca1aab

13 files changed

Lines changed: 386 additions & 335 deletions

File tree

‎packages/app-web-docs/src/docs/components/ReferenceEntry.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function ReferenceEntryComponent({
8585
<li key={index}>
8686
<code>
8787
&quot;
88-
{formatPattern(example.spokenForm, entry.defaultSpokenForm)}
88+
{formatPattern(example.command, entry.defaultSpokenForm)}
8989
&quot;
9090
</code>
9191
: {example.description}

‎packages/lib-common/src/references/ReferenceEntry.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ interface SyntaxDefinition {
2020
}
2121

2222
interface ExampleDefinition {
23-
spokenForm: string;
23+
command: string;
2424
description: string;
2525
}

0 commit comments

Comments
 (0)