Home > @rushstack/heft-config-file > ICustomPropertyInheritance > inheritanceFunction

ICustomPropertyInheritance.inheritanceFunction property

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.

Provides a custom inheritance function. This function takes two arguments: the first is the child file’s object, and the second is the parent file’s object. The function should return the resulting combined object.

Signature:

inheritanceFunction: PropertyInheritanceCustomFunction<TObject>;