rest-vir - v1.0.0
    Preparing search index...

    Type Alias ReplaceUndefinedWithEmptyObject<T>

    ReplaceUndefinedWithEmptyObject: T extends undefined
        ? Exclude<T, undefined>
        | EmptyObject
        : T

    Removes undefined unions from the given type and replaces it with EmptyObject. This is used specifically for SearchParamsType.

    Type Parameters

    • T