Skip to content

WithRequiredProps

WithRequiredProps<T, K>: Partial<T> & Pick<T, K>

Defined in: utils/types.ts:15

A type that requires certain properties of another type.

Type Parameters

T

The original type.

K extends keyof T

The keys of the properties that should be required.