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