Function omit

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol

    Parameters

    • subject: T
    • prop1: P1

    Returns Omit<T, P1>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol

    Parameters

    • subject: T
    • prop1: P1
    • prop2: P2

    Returns Omit<T, P1 | P2>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol

    Parameters

    • subject: T
    • prop1: P1
    • prop2: P2
    • prop3: P3

    Returns Omit<T, P1 | P2 | P3>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol

    Parameters

    • subject: T
    • prop1: P1
    • prop2: P2
    • prop3: P3
    • prop4: P4

    Returns Omit<T,
        | P1
        | P2
        | P3
        | P4>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol
    • P5 extends string | number | symbol

    Parameters

    • subject: T
    • prop1: P1
    • prop2: P2
    • prop3: P3
    • prop4: P4
    • prop5: P5

    Returns Omit<T,
        | P1
        | P2
        | P3
        | P4
        | P5>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol
    • P5 extends string | number | symbol
    • P6 extends string | number | symbol

    Parameters

    Returns Omit<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol
    • P5 extends string | number | symbol
    • P6 extends string | number | symbol
    • P7 extends string | number | symbol

    Parameters

    Returns Omit<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol
    • P5 extends string | number | symbol
    • P6 extends string | number | symbol
    • P7 extends string | number | symbol
    • P8 extends string | number | symbol

    Parameters

    Returns Omit<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7
        | P8>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol
    • P5 extends string | number | symbol
    • P6 extends string | number | symbol
    • P7 extends string | number | symbol
    • P8 extends string | number | symbol
    • P9 extends string | number | symbol

    Parameters

    Returns Omit<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7
        | P8
        | P9>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol
    • P5 extends string | number | symbol
    • P6 extends string | number | symbol
    • P7 extends string | number | symbol
    • P8 extends string | number | symbol
    • P9 extends string | number | symbol
    • P10 extends string | number | symbol

    Parameters

    Returns Omit<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7
        | P8
        | P9
        | P10>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol
    • P5 extends string | number | symbol
    • P6 extends string | number | symbol
    • P7 extends string | number | symbol
    • P8 extends string | number | symbol
    • P9 extends string | number | symbol
    • P10 extends string | number | symbol
    • P11 extends string | number | symbol

    Parameters

    Returns Omit<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7
        | P8
        | P9
        | P10
        | P11>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol
    • P5 extends string | number | symbol
    • P6 extends string | number | symbol
    • P7 extends string | number | symbol
    • P8 extends string | number | symbol
    • P9 extends string | number | symbol
    • P10 extends string | number | symbol
    • P11 extends string | number | symbol
    • P12 extends string | number | symbol

    Parameters

    Returns Omit<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7
        | P8
        | P9
        | P10
        | P11
        | P12>

  • Type Parameters

    • T extends AnyRecord
    • Props extends string | number | symbol

    Parameters

    • subject: T
    • Rest...props: Props[]

    Returns Omit<T, Props>