diff --git a/guides/working-with-lua.livemd b/guides/working-with-lua.livemd index 8bf90e1..f36ca3c 100644 --- a/guides/working-with-lua.livemd +++ b/guides/working-with-lua.livemd @@ -4,7 +4,7 @@ ```elixir Mix.install([ - {:lua, "~> 0.0.21"} + {:lua, "~> 0.0.22"} ]) ``` diff --git a/lib/lua/api.ex b/lib/lua/api.ex index dd6c2a0..4310676 100644 --- a/lib/lua/api.ex +++ b/lib/lua/api.ex @@ -97,7 +97,7 @@ defmodule Lua.API do @type scope_def :: list(String.t()) @callback scope :: scope_def() - @callback install(Lua.t(), scope_def(), any()) :: Lua.t() | String.t() + @callback install(Lua.t(), scope_def(), any()) :: Lua.t() | Lua.Chunk.t() | String.t() @optional_callbacks [install: 3] @doc """ diff --git a/mix.exs b/mix.exs index 3012f32..5993183 100644 --- a/mix.exs +++ b/mix.exs @@ -2,7 +2,7 @@ defmodule Lua.MixProject do use Mix.Project @url "https://github.com/tv-labs/lua" - @version "0.0.21" + @version "0.0.22" def project do [