@umbraco-cms/backoffice
    Preparing search index...

    Function assignToFrozenObject

    • Type Parameters

      • T extends object

      Parameters

      • target: T

        The frozen object to base the new object on.

      • source: Partial<T>

        The properties to assign onto the new object.

      Returns T

      • A new object, with the same prototype as target, with source assigned onto it.