Skip to content

Commit 918fbaf

Browse files
authored
Fix typespec for Lua.API.install/3 (#60)
1 parent f3ef3cb commit 918fbaf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

guides/working-with-lua.livemd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
```elixir
66
Mix.install([
7-
{:lua, "~> 0.0.21"}
7+
{:lua, "~> 0.0.22"}
88
])
99
```
1010

lib/lua/api.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ defmodule Lua.API do
9797
@type scope_def :: list(String.t())
9898

9999
@callback scope :: scope_def()
100-
@callback install(Lua.t(), scope_def(), any()) :: Lua.t() | String.t()
100+
@callback install(Lua.t(), scope_def(), any()) :: Lua.t() | Lua.Chunk.t() | String.t()
101101
@optional_callbacks [install: 3]
102102

103103
@doc """

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ defmodule Lua.MixProject do
22
use Mix.Project
33

44
@url "https://github.com/tv-labs/lua"
5-
@version "0.0.21"
5+
@version "0.0.22"
66

77
def project do
88
[

0 commit comments

Comments
 (0)