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