Home > @microsoft/api-extractor-model > IApiPackageSaveOptions

IApiPackageSaveOptions interface

Options for ApiPackage.saveToJsonFile().

Signature:

export interface IApiPackageSaveOptions extends IJsonFileSaveOptions 

Properties

Property Type Description
testMode boolean Set to true only when invoking API Extractor’s test harness.
toolPackage string Optionally specifies a value for the “toolPackage” field in the output .api.json data file; otherwise, the value will be “api-extractor-model”.
toolVersion string Optionally specifies a value for the “toolVersion” field in the output .api.json data file; otherwise, the value will be the current version of the api-extractor-model package.