Rush StackShopBlogEvents
Skip to main content

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

ConfigurationFileBase.getObjectSourceFilePath() method

This API is provided as a beta 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

Parameter

Type

Description

obj

TObject

Returns:

string | undefined