aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-07-24 21:25:31 +0200
committerKim Alvefur <zash@zash.se>2022-07-24 21:25:31 +0200
commit53907b44cee9c5acfb6979d6f60b9f285a064bc7 (patch)
tree7a8e069e91790e5802b2543934701f5e71b762b4
parent0ed1e69a4e78612fe27426f716ce8faa6042a24a (diff)
downloadprosody-53907b44cee9c5acfb6979d6f60b9f285a064bc7.tar.gz
prosody-53907b44cee9c5acfb6979d6f60b9f285a064bc7.zip
teal: add stub util.array teal defs
-rw-r--r--teal-src/util/array.d.tl9
1 files changed, 9 insertions, 0 deletions
diff --git a/teal-src/util/array.d.tl b/teal-src/util/array.d.tl
new file mode 100644
index 00000000..70bf2624
--- /dev/null
+++ b/teal-src/util/array.d.tl
@@ -0,0 +1,9 @@
+local record array_t<T>
+ { T }
+end
+
+local record lib
+ metamethod __call : function () : array_t
+end
+
+return lib