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.


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


Parameter Type Description
obj TObject  


string | undefined