Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/api-extractor > ExtractorConfig > publicTrimmedFilePath

ExtractorConfig.publicTrimmedFilePath property

Specifies the output path for a .d.ts rollup file to be generated with trimming for a "public" release.


readonly publicTrimmedFilePath: string;


This file will include only declarations that are marked as @public.

If the path is an empty string, then this file will not be written.

The path is resolved relative to the folder of the config file that contains the setting; to change this, prepend a folder token such as <projectFolder>.