File

teal-src/util/interpolation.d.tl @ 12251:21ed12cfe300

util.pluginloader: Support for a per-file load filter Load filters can choose to block the loading of certain files, and optionally return some metadata about the loaded file.
author Matthew Wild <mwild1@gmail.com>
date Thu, 03 Feb 2022 12:56:52 +0000
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