• Only freezes the descendants of an object, not the object itself.

    Type Parameters

    • T extends object

    Parameters

    • obj: T

    Returns T