Software /
code /
prosody
File
teal-src/util/interpolation.d.tl @ 12190:3616128cd2e3
util.jid: Explicitly check for nil rather than falsy
A boolean false should blow up.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 15 Jan 2022 16:25:25 +0100 |
parent | 11432:113f3912c7cb |
line wrap: on
line source
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