• remove undefined fields from an object (! mutates the object !)

    Type Parameters

    • T extends object

    Parameters

    • obj: T

    Returns T