NonNullishType: Exclude<T, NullishTypes>

Exclude all nullish types from the given type so NonNullishType<TypeA | TypeB | undefined> is TypeA | TypeB.

Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.

Type Parameters

  • T