Type Alias Partial<T>

Partial<T>: {
    [P in keyof T]?: T[P]
}

An alternative Partial<T> type that works with exactOptionalPropertyTypes

Type Parameters

  • T