teal: Describe http_url method
authorKim Alvefur <zash@zash.se>
Wed, 24 May 2023 14:56:50 +0200
changeset 13113 5469045ef7f0
parent 13112 6cd768e6ac7c
child 13115 8576f94ac90a
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.
teal-src/module.d.tl
--- a/teal-src/module.d.tl	Wed May 24 14:49:29 2023 +0200
+++ b/teal-src/module.d.tl	Wed May 24 14:56:50 2023 +0200
@@ -138,6 +138,9 @@
 	save : function () : any
 	restore : function (any)
 	unload : function ()
+
+	-- added by mod_http
+	http_url : function (moduleapi, string, string, string) : string
 end
 
 global module : moduleapi