disable lua server diagnostics in twnapi.lua
This commit is contained in:
		@@ -29,6 +29,7 @@ def to_lua_type_annot(typedesc):
 | 
			
		||||
        return "unknown"
 | 
			
		||||
        # raise BaseException("Unhandled type for annotation: %s" % typedesc)
 | 
			
		||||
 | 
			
		||||
print("---@diagnostic disable")
 | 
			
		||||
print("error(\"townengine lua api file is not supposed to be imported!\")")
 | 
			
		||||
 | 
			
		||||
type_annotations = {}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user