Skip to content

Commit c81d62e

Browse files
committed
Correction: Can also work with shouldExtractLiteralValuesFromEnum
1 parent 0c6b98c commit c81d62e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ If set to true, every unions will be converted to docgen enum format.
142142

143143
### `shouldSortUnions`: boolean
144144

145-
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.
145+
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.
146146

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

0 commit comments

Comments
 (0)