/apps/twnlua: add ---@meta annotation
This commit is contained in:
1 parent
b46331e08d
commit
9f0d15b9f6
1 file changed
+1
-1
@@ -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 }" % \
|
||||
|
||||
Reference in new issue
Block a user