Skip to content

Commit

Permalink
Correction: Can also work with shouldExtractLiteralValuesFromEnum
Browse files Browse the repository at this point in the history
  • Loading branch information
pwolfert committed May 20, 2024
1 parent 0c6b98c commit c81d62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ If set to true, every unions will be converted to docgen enum format.

### `shouldSortUnions`: boolean

When used in combination with `shouldExtractValuesFromUnion`, sorts union members in string-sort order when set to true. This is useful for ensuring the same order of members every time.
When used in combination with `shouldExtractValuesFromUnion` or `shouldExtractLiteralValuesFromEnum`, sorts union members in string-sort order when set to true. This is useful for ensuring the same order of members every time.

### `skipChildrenPropWithoutDoc`: boolean (default: `true`)

Expand Down

0 comments on commit c81d62e

Please # to comment.