mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
teal: add stub util.array teal defs
This commit is contained in:
parent
0ed1e69a4e
commit
53907b44ce
1 changed files with 9 additions and 0 deletions
9
teal-src/util/array.d.tl
Normal file
9
teal-src/util/array.d.tl
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
local record array_t<T>
|
||||||
|
{ T }
|
||||||
|
end
|
||||||
|
|
||||||
|
local record lib
|
||||||
|
metamethod __call : function () : array_t
|
||||||
|
end
|
||||||
|
|
||||||
|
return lib
|
Loading…
Add table
Add a link
Reference in a new issue