Comparison

teal-src/module.d.tl @ 13109:5469045ef7f0

teal: Describe http_url method It is not part of the "real" module API, but used in various places. Extending the API seems hard to describe in a type-safe way.
author Kim Alvefur <zash@zash.se>
date Wed, 24 May 2023 14:56:50 +0200
parent 13001:5883e78b6165
child 13328:36284c879e2f
comparison
equal deleted inserted replaced
13108:6cd768e6ac7c 13109:5469045ef7f0
136 load : function () 136 load : function ()
137 add_host : function (moduleapi) 137 add_host : function (moduleapi)
138 save : function () : any 138 save : function () : any
139 restore : function (any) 139 restore : function (any)
140 unload : function () 140 unload : function ()
141
142 -- added by mod_http
143 http_url : function (moduleapi, string, string, string) : string
141 end 144 end
142 145
143 global module : moduleapi 146 global module : moduleapi
144 147
145 global record common_event 148 global record common_event