Type alias WithIDOrShape<T>

WithIDOrShape<T>: T extends {
        id: string;
    }
    ? WithOrWithout<T, GSDPeak, GSDBroadenPeakWithShapeID, GSDBroadenPeakWithID>
    : WithOrWithout<T, GSDPeak, GSDBroadenPeakWithShape, GSDBroadenPeak>

Type Parameters

  • T