AllowNull<T>: {
    [K in keyof T]: T[K] | null
}

Adds null as an allowed value to all properties.

Type Parameters

  • T