Type alias ExcludeUndefined<T>

ExcludeUndefined<T>: { [ P in keyof T]: undefined extends T[P] ? never : P }[keyof T]

Excludes property keys from T where the property is assignable to U

Type Parameters

  • T