Add types and specs for LastFm module
This commit is contained in:
@@ -3,5 +3,5 @@ defmodule LastFm.APIBehaviour do
|
||||
|
||||
@type user :: String.t()
|
||||
@type api_key :: String.t()
|
||||
@callback get_recent_tracks(user, api_key) :: {:ok, [%Track{}]} | {:error, String.t()}
|
||||
@callback get_recent_tracks(user, api_key) :: {:ok, [Track.t()]} | {:error, String.t()}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user