Diff

teal-src/util/dataforms.d.tl @ 12615:b2047b82ec85

util.dataforms: Add missing :data() to Teal definition
author Kim Alvefur <zash@zash.se>
date Mon, 15 Nov 2021 17:15:22 +0100
parent 12614:d498e7e7853a
line wrap: on
line diff
--- a/teal-src/util/dataforms.d.tl	Mon Nov 15 17:07:23 2021 +0100
+++ b/teal-src/util/dataforms.d.tl	Mon Nov 15 17:15:22 2021 +0100
@@ -45,6 +45,7 @@
 		end
 
 		form : function ( dataform, { string : any }, form_type ) : stanza_t
+		data : function ( dataform, stanza_t ) : { string : any }
 	end
 
 	new : function ( dataform ) : dataform