Type Alias NotAcceptedFields<TSchema, FieldType>

NotAcceptedFields<TSchema, FieldType>: {
    readonly [key in KeysOfOtherType<TSchema, FieldType>]?: never
}

It avoids using fields with not acceptable types它避免使用不可接受类型的字段

Type Parameters

  • TSchema
  • FieldType