File

teal-src/util/interpolation.d.tl @ 12560:1e41dd0f8353

util.hashes: Refactor HMAC bindings (fixes #1589) HMAC() is deprecated As with the regular hash functions, macros like this make it awkward to apply static analysis and code formatting.
author Kim Alvefur <zash@zash.se>
date Sun, 29 Nov 2020 17:58:30 +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