Fix typings on config modules
This commit is contained in:
@@ -46,7 +46,7 @@ defmodule LastFm.Config do
|
|||||||
)
|
)
|
||||||
|
|
||||||
@doc NimbleOptions.docs(@schema)
|
@doc NimbleOptions.docs(@schema)
|
||||||
@spec resolve(atom) :: t
|
@spec resolve(atom) :: t | no_return
|
||||||
def resolve(otp_app) do
|
def resolve(otp_app) do
|
||||||
app_config =
|
app_config =
|
||||||
Application.get_env(otp_app, LastFm)
|
Application.get_env(otp_app, LastFm)
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ defmodule MusicBrainz.Config do
|
|||||||
)
|
)
|
||||||
|
|
||||||
@doc NimbleOptions.docs(@schema)
|
@doc NimbleOptions.docs(@schema)
|
||||||
@spec resolve(atom) :: t
|
@spec resolve(atom) :: t | no_return
|
||||||
def resolve(otp_app) do
|
def resolve(otp_app) do
|
||||||
app_config =
|
app_config =
|
||||||
Application.get_env(otp_app, MusicBrainz)
|
Application.get_env(otp_app, MusicBrainz)
|
||||||
|
|||||||
Reference in New Issue
Block a user