OutputValueFor type

type OutputValueFor<T> = T extends ScalarOutputType
  ? ExpressionOrValue<PrimitiveTypeMap[T]>
  : OutputValue