Library API
    Preparing search index...

    Function defineFrom

    • Copies all own property descriptors (including symbols, getters, and non-enumerable entries) from source onto target.

      Type Parameters

      • T extends object

      Parameters

      • target: T

        Destination object

      • source: object

        Source object whose own descriptors are copied

      Returns T

      The target object