Skip to content

Commit

Permalink
fix: Broken Type Specs
Browse files Browse the repository at this point in the history
Fixes two broken type specs
  • Loading branch information
staylorwr committed Apr 23, 2021
1 parent 9af6f49 commit e3673a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ex_teal/action.ex
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ defmodule ExTeal.Action do

@type action_responses :: :ok | {:error, String.t()} | ExTeal.ActionResponse.t()

@callback options(Plug.Conn.t()) :: list()
@callback options(Plug.Conn.t()) :: map()

@callback commit(Plug.Conn.t(), [ExTeal.Field.t()], Ecto.Query.t()) :: action_responses()

Expand Down
2 changes: 1 addition & 1 deletion lib/ex_teal/application/configuration.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule ExTeal.Application.Configuration do
@doc """
Returns an array of dashboards
"""
@callback dashboards() :: [Dashboard]
@callback dashboards() :: [module()]

@doc """
Returns the json configuration required for the vue app.
Expand Down

0 comments on commit e3673a9

Please sign in to comment.