Changeset

12611:33b7e7bd83fd

teal: add stub util.array teal defs
author Kim Alvefur <zash@zash.se>
date Sun, 24 Jul 2022 21:25:31 +0200
parents 12610:e2fdcd386ebb
children 12612:588b1d175838
files teal-src/util/array.d.tl
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/teal-src/util/array.d.tl	Sun Jul 24 21:25:31 2022 +0200
@@ -0,0 +1,9 @@
+local record array_t<T>
+	{ T }
+end
+
+local record lib
+	metamethod __call : function () : array_t
+end
+
+return lib