File

teal-src/util/interpolation.d.tl @ 11527:eaff6e548f12

net.http.server: Split out method for sending only the header Makes it easier to reuse, e.g. for SSE or websockets or other custom responses.
author Kim Alvefur <zash@zash.se>
date Sat, 24 Apr 2021 10:50:24 +0200
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