StringToFieldRestrictions<T>: T extends FieldType
    ? FieldTypeToRestrictions<T>
    : never

Type Parameters

  • T extends string