• Returns an object containing all own property descriptors of an object

    Type Parameters

    • T

    Parameters

    • o: T

      Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.

    Returns {
        [P in string | number | symbol]: TypedPropertyDescriptor<T[P]>
    } & {
        [x: string]: PropertyDescriptor;
    }