Rush StackShopBlogEvents
Skip to main content

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

IPathFormatConciselyOptions interface

Options for Path.formatConcisely().

Signature:

export interface IPathFormatConciselyOptions 

Properties

Property

Modifiers

Type

Description

baseFolder

string

The base path to use when converting pathToConvert to a relative path.

pathToConvert

string

The path to be converted.

trimLeadingDotSlash?

boolean

(Optional) If set to true, don't include the leading ./ if the path is under the base folder.