type-plus
    Preparing search index...

    Function amend

    • amend subject with type T

      Type Parameters

      • S

      Parameters

      • subject: S

      Returns { intersect<T>(): S | T; union<T>(): T & S }