summaryrefslogtreecommitdiff
path: root/meta/template/math.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-19 11:51:31 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-19 11:51:31 +0800
commit1a65fe75ed8965bbfc6ed20691ceb9a803b55d7b (patch)
tree139de5a308902f36b8a69ae285eca5bc96799a97 /meta/template/math.lua
parent30b024f811b4d36c4eb09dbba846d1feb9751342 (diff)
downloadlua-language-server-1a65fe75ed8965bbfc6ed20691ceb9a803b55d7b.zip
rename lib class name
Diffstat (limited to 'meta/template/math.lua')
-rw-r--r--meta/template/math.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/template/math.lua b/meta/template/math.lua
index 4f369728..da028044 100644
--- a/meta/template/math.lua
+++ b/meta/template/math.lua
@@ -1,7 +1,7 @@
---@meta
---#DES 'math'
----@class math*
+---@class mathlib
---#DES 'math.huge'
---@field huge number
---#if VERSION >= 5.3 then
@@ -14,6 +14,8 @@
---@field pi number
math = {}
+---@alias math* mathlib
+
---#DES 'math.abs'
---@param x number
---@return number