RoadmapShopEvents
Skip to main content

Home > @microsoft/api-extractor > IConfigFile > enumMemberOrder

IConfigFile.enumMemberOrder property

Specifies how API Extractor sorts members of an enum when generating the .api.json file.

Signature:

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".