Home > @microsoft/api-extractor-model > EnumMemberOrder
EnumMemberOrder enum
Options for customizing the sort order of ApiEnum members.
Signature:
export declare enum EnumMemberOrder
Enumeration Members
Member | Value | Description |
---|---|---|
ByName | "by-name" |
This is the default behavior. |
Preserve | "preserve" | ApiEnumMember items preserve the original order of the declarations in the source file. (This disables the automatic sorting that is normally applied based on ApiItem.getSortKey().) |