diff --git a/src/awesomewm.d.tl/generator/teal_type_definitions.tl b/src/awesomewm.d.tl/generator/teal_type_definitions.tl index 7fa2985..6f3d899 100644 --- a/src/awesomewm.d.tl/generator/teal_type_definitions.tl +++ b/src/awesomewm.d.tl/generator/teal_type_definitions.tl @@ -9,16 +9,16 @@ local tmpl = [[ -- Auto generated file (Do not manually edit this file!) local record $(module.record_name) -# if #module.signals then +# if #module.signals ~= 0 then $(snippets.indent(snippets.render_enum("Signal", module.signals))) # end -- /signals -# if #module.methods then +# if #module.methods ~= 0 then -- Object methods $(snippets.indent(snippets.render_record_functions(module.methods))) # end -- /methods -# if #module.properties then +# if #module.properties ~= 0 then -- Object properties $(snippets.indent(snippets.render_record_properties(module.properties))) # end -- /properties