summaryrefslogtreecommitdiff
path: root/meta/3rd/love2d/library/love.system.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-01-12 14:52:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-01-12 14:52:30 +0800
commit62025440534df25cdfb3766f8b59536cedc707e6 (patch)
tree45849ac97269e11a8609711e34074513e5580af4 /meta/3rd/love2d/library/love.system.lua
parent6b3a0d0bb780b4eab4dbec77f3bb4d394aa5527f (diff)
downloadlua-language-server-62025440534df25cdfb3766f8b59536cedc707e6.zip
fix #902
Diffstat (limited to 'meta/3rd/love2d/library/love.system.lua')
-rw-r--r--meta/3rd/love2d/library/love.system.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/3rd/love2d/library/love.system.lua b/meta/3rd/love2d/library/love.system.lua
index 2419688a..154e2f79 100644
--- a/meta/3rd/love2d/library/love.system.lua
+++ b/meta/3rd/love2d/library/love.system.lua
@@ -62,24 +62,24 @@ function love.system.vibrate(seconds) end
---
---The basic state of the system's power supply.
---
----@class love.PowerState
+---@alias love.PowerState
---
---Cannot determine power status.
---
----@field unknown integer
+---| '"unknown"'
---
---Not plugged in, running on a battery.
---
----@field battery integer
+---| '"battery"'
---
---Plugged in, no battery available.
---
----@field nobattery integer
+---| '"nobattery"'
---
---Plugged in, charging battery.
---
----@field charging integer
+---| '"charging"'
---
---Plugged in, battery is fully charged.
---
----@field charged integer
+---| '"charged"'