Function omit

  • Creates a shallow copy of obj containing all properties not specified in props

    Type Parameters

    • T

    • K extends string | number | symbol

    Parameters

    • obj: T

      the object ot copy

    • Rest ...props: K[]

      the properties to omit in the returned object

    Returns Omit<T, K>

Generated using TypeDoc