Function extend

  • Extend an object with the properties of another

    Type Parameters

    • A

    • B

    Parameters

    • a: A
    • b: B

    Returns A & B