Type alias NullableParameters<T>

NullableParameters<T>: {
    [K in keyof T]: K extends "parameters"
        ? AllowNull<T[K]>
        : T[K]
}

Adds null as an allowed value to all parameters.

Type Parameters

  • T extends {
        parameters?: object;
    }