Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/heft-config-file > ConfigurationFile > getObjectSourceFilePath

ConfigurationFile.getObjectSourceFilePath() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Get the path to the source file that the referenced property was originally loaded from.

Signature:

getObjectSourceFilePath<TObject extends object>(obj: TObject): string | undefined;

Parameters

ParameterTypeDescription
objTObject

Returns:

string | undefined