diff 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
parents 5883e78b6165
children 36284c879e2f
line wrap: on
line diff
--- 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