Home > @microsoft/api-extractor > ExtractorConfig > enumMemberOrder
ExtractorConfig.enumMemberOrder property
Specifies how API Extractor sorts members of an enum when generating the .api.json file.
Signature:
readonly enumMemberOrder: EnumMemberOrder;
Remarks
By default, the output files will be sorted alphabetically, which is "by-name". To keep the ordering in the source code, specify "preserve".