File

teal-src/util/interpolation.d.tl @ 11464:6e25409fecbd

util.datamapper: Only get element name if there's an element Fixes error due to attempting to index a nil value
author Kim Alvefur <zash@zash.se>
date Fri, 19 Mar 2021 19:07: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