From 9f0d15b9f6a08e16e8fd701e5d5e1f7ee0b2b858 Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Sun, 23 Feb 2025 22:07:32 +0300 Subject: [PATCH] /apps/twnlua: add ---@meta annotation --- apps/twnlua/docgen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }" % \