/apps/twnlua: add ---@meta annotation

This commit is contained in:
veclavtalica 2025-02-23 22:07:32 +03:00
parent b46331e08d
commit 9f0d15b9f6

View File

@ -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 }" % \