Creates new object with specified keys removed

  • Type Parameters

    • T extends Record<string, any>

    Parameters

    • ks: string[]

      Keys to remove

    • x: T

      Source object

    Returns T

    New object without specified keys