mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
chore: undo typespec that is complaining for some reason
This commit is contained in:
parent
1f6fb8d7af
commit
39b143e19e
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue