diff --git a/apps/twnlua/docgen.py b/apps/twnlua/docgen.py index 752c747..ced2daa 100755 --- a/apps/twnlua/docgen.py +++ b/apps/twnlua/docgen.py @@ -29,8 +29,8 @@ def to_lua_type_annot(typedesc): return "unknown" # raise BaseException("Unhandled type for annotation: %s" % typedesc) +print("---@meta twn") print("---@diagnostic disable") -print("error(\"townengine lua api file is not supposed to be imported!\")") type_annotations = {} type_annotations["ctx"] = r"{ %s, udata: table }" % \