Skip to content

Commit 1ad277b

Browse files
committed
Update api-extractor-template.json
1 parent a46bd70 commit 1ad277b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

apps/api-extractor/src/schemas/api-extractor-template.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,4 +373,24 @@
373373
// . . .
374374
}
375375
}
376+
377+
/**
378+
* Set to true when invoking API Extractor's test harness.
379+
*
380+
* When `testMode` is true, the `toolVersion` field in the .api.json file is assigned an empty string
381+
* to prevent spurious diffs in output files tracked for tests.
382+
*
383+
* DEFAULT VALUE: "false"
384+
*/
385+
// "testMode": false,
386+
387+
/**
388+
* Specifies how API Extractor sorts members of an enum when generating api.json.
389+
*
390+
* By default, the output files will be sorted alphabetically, which is "by-name".
391+
* To keep the ordering in the source code, specify "preserve".
392+
*
393+
* DEFAULT VALUE: "by-name"
394+
*/
395+
// enumMemberOrder?: EnumMemberOrder
376396
}

0 commit comments

Comments
 (0)