diff options
author | Kim Alvefur <zash@zash.se> | 2022-07-24 21:25:31 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-07-24 21:25:31 +0200 |
commit | 53907b44cee9c5acfb6979d6f60b9f285a064bc7 (patch) | |
tree | 7a8e069e91790e5802b2543934701f5e71b762b4 /teal-src/util/array.d.tl | |
parent | 0ed1e69a4e78612fe27426f716ce8faa6042a24a (diff) | |
download | prosody-53907b44cee9c5acfb6979d6f60b9f285a064bc7.tar.gz prosody-53907b44cee9c5acfb6979d6f60b9f285a064bc7.zip |
teal: add stub util.array teal defs
Diffstat (limited to 'teal-src/util/array.d.tl')
-rw-r--r-- | teal-src/util/array.d.tl | 9 |
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 |