aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/prosody/util/interpolation.d.tl
diff options
context:
space:
mode:
Diffstat (limited to 'teal-src/prosody/util/interpolation.d.tl')
-rw-r--r--teal-src/prosody/util/interpolation.d.tl6
1 files changed, 6 insertions, 0 deletions
diff --git a/teal-src/prosody/util/interpolation.d.tl b/teal-src/prosody/util/interpolation.d.tl
new file mode 100644
index 00000000..fb653edf
--- /dev/null
+++ b/teal-src/prosody/util/interpolation.d.tl
@@ -0,0 +1,6 @@
+local type renderer = function (string, { string : any }) : string
+local type filter = function (string, any) : string
+local record lib
+ new : function (string, string, funcs : { string : filter }) : renderer
+end
+return lib