Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/node-core-library > IPathFormatConciselyOptions

IPathFormatConciselyOptions interface

Options for Path.formatConcisely().

Signature:

export interface IPathFormatConciselyOptions 

Properties

PropertyModifiersTypeDescription
baseFolderstringThe base path to use when converting pathToConvert to a relative path.
pathToConvertstringThe path to be converted.
trimLeadingDotSlash?boolean(Optional) If set to true, don't include the leading ./ if the path is under the base folder.