summaryrefslogtreecommitdiff
path: root/meta/template
diff options
context:
space:
mode:
Diffstat (limited to 'meta/template')
-rw-r--r--meta/template/basic.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/template/basic.lua b/meta/template/basic.lua
index 05c63188..7004cc44 100644
--- a/meta/template/basic.lua
+++ b/meta/template/basic.lua
@@ -236,6 +236,7 @@ function setfenv(f, table) end
---@field __eq fun(t1,t2):boolean
---@field __lt fun(t1,t2):boolean
---@field __le fun(t1,t2):boolean
+---@field __index table|fun(t,k)
---@field __newindex table|fun(t,k,v)
---@field __call fun(t,...)
---#if VERSION > 5.1 or VERSION == JIT then