chore: undo typespec that is complaining for some reason

This commit is contained in:
Zach Daniel 2022-09-20 19:48:45 -04:00
parent 1f6fb8d7af
commit 39b143e19e

View file

@ -374,7 +374,7 @@ defmodule Ash.Resource.Info do
@doc """
Gets the type of an aggregate for a given resource.
"""
@spec aggregate_type(Spark.Dsl.t() | Ash.Resource.t(), Ash.Resource.Aggregate.t() | atom) ::
@spec aggregate_type(Ash.Resource.t(), Ash.Resource.Aggregate.t() | atom) ::
Ash.Type.t()
def aggregate_type(resource, aggregate) when is_atom(aggregate) do
aggregate_type(resource, aggregate(resource, aggregate))