Skip to content

Commit c234203

Browse files
committed
update docusaurus
1 parent dc81ceb commit c234203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/pages/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ transformUserInput({
393393
394394
### Args as Discriminated Union
395395
396-
When applicable use **discriminated union type** to eliminate optional args, which will decrease complexity on function API and only necessary/required args will be passed depending on its use case.
396+
When applicable use **discriminated union type** to eliminate optional properties, which will decrease complexity on function API and only required properties will be passed depending on its use case.
397397
398398
```ts
399399
// ❌ Avoid optional properties as they increase complexity of function API

0 commit comments

Comments
 (0)