Type Alias: AssertNoOptionals<T>
AssertNoOptionals<
T> = [OptionalKeys<T>] extends [never] ?unknown:object
Defined in: packages/core/src/types.ts:25
A utility type that enforces the absence of optional keys in a given type T.
If T contains any optional keys, it will produce a compile-time error listing the keys
that need to be removed or made required.
Type Parameters
T
T
The object type to be validated for optional keys.