Type Alias AssertDynaRecord<E>

AssertDynaRecord: E extends default ? E : never

Asserts that a given type E extends DynaRecord. If E does not extend DynaRecord, it resolves to never.

This is used to enforce that only valid DynaRecord types are included in relationships or other dependent types.

Type Parameters

  • E

    The type to assert.