Skip to content

Commit

Permalink
fix spel2.lua function overloads by adding ---@meta
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanfer committed Oct 8, 2023
1 parent 340eaf5 commit 4e29b35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/game_data/spel2.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion docs/generate_emmylua.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ def main():
gu.setup_stdout("game_data/spel2.lua")

print(
"""---@diagnostic disable: unused-function,lowercase-global,missing-return,duplicate-doc-alias,duplicate-set-field
"""---@meta
---@diagnostic disable: duplicate-doc-alias
---@class Meta
---@field name string
---@field version string
Expand Down

0 comments on commit 4e29b35

Please sign in to comment.